Specialized conversion class.
More...
#include <lexical_cast.hpp>
|
To | operator() (const std::string &value, utils::optional< To > fallback) const |
|
template<class To>
struct implementation::lexical_caster< To, std::string, std::enable_if_t< std::is_integral_v< To > &&std::is_signed_v< To > &&!std::is_same_v< To, long long > > >
Specialized conversion class.
Specialized for returning a signed type from a std::string.
Definition at line 276 of file lexical_cast.hpp.
◆ operator()()
template<class To >
To implementation::lexical_caster< To, std::string, std::enable_if_t< std::is_integral_v< To > &&std::is_signed_v< To > &&!std::is_same_v< To, long long > > >::operator() |
( |
const std::string & |
value, |
|
|
utils::optional< To > |
fallback |
|
) |
| const |
|
inline |
The documentation for this struct was generated from the following file: