15 #ifndef A_UTIL_UTIL_STRINGS_DETAIL_STRINGS_CONVERT_IMPL_HEADER_INCLUDED
16 #define A_UTIL_UTIL_STRINGS_DETAIL_STRINGS_CONVERT_IMPL_HEADER_INCLUDED
22 template <
typename Numeric>
28 template <
typename Numeric>
29 bool toNumeric(
const std::string& from, Numeric& to)
34 template <
typename Numeric>
37 Numeric to = Numeric();
42 template <
typename Numeric>
45 Numeric to = Numeric();
bool toNumeric(const char *from, Numeric &to)
Safely convert a string to a value of type Numeric in a generic manner.
Serves as the root component, with common functionality documented in core functionality.
Public API for string conversion functions.
static bool convert(const char *from, bool &to)
Safely convert a string to a boolean value.