Public Member Functions | List of all members
FromString< char > Struct Template Reference

UTF-8 specialisation of FromString<T>. More...

#include <FromString.hpp>

Public Member Functions

template<typename T >
void operator() (T &destination, std::string_view value) const
 

Detailed Description

template<>
struct FromString< char >

UTF-8 specialisation of FromString<T>.

Converts the supplied std::string to an object of type T by calling fromString.

Member Function Documentation

◆ operator()()

void operator() ( T &  destination,
std::string_view  value 
) const
inline
Parameters
destinationthe destination value that is set via assignment
valuethe string view input
Exceptions
ConversionExceptionwhen the conversion fails

The documentation for this struct was generated from the following file: