UTF-8 specialisation of FromString<T>.
More...
#include <FromString.hpp>
|
| template<typename T > |
| void | operator() (T &destination, std::string_view value) const |
| |
template<>
struct FromString< char >
UTF-8 specialisation of FromString<T>.
Converts the supplied std::string to an object of type T by calling fromString.
◆ operator()()
| void operator() |
( |
T & |
destination, |
|
|
std::string_view |
value |
|
) |
| const |
|
inline |
- Parameters
-
| destination | the destination value that is set via assignment |
| value | the string view input |
- Exceptions
-
| ConversionException | when the conversion fails |
The documentation for this struct was generated from the following file: