Specialized conversion class.
More...
#include <lexical_cast.hpp>
|
long long | operator() (From value, utils::optional< long long > fallback) const |
|
template<class From>
struct implementation::lexical_caster< long long, From, void, std::enable_if_t< std::is_same_v< From, const char * >||std::is_same_v< From, char * > > >
Specialized conversion class.
Specialized for returning a long long from a (const) char*.
- Note
- is separate from the other signed types since a long long has a performance penalty at 32 bit systems.
Definition at line 187 of file lexical_cast.hpp.
◆ operator()()
template<class From >
long long implementation::lexical_caster< long long, From, void, std::enable_if_t< std::is_same_v< From, const char * >||std::is_same_v< From, char * > > >::operator() |
( |
From |
value, |
|
|
utils::optional< long long > |
fallback |
|
) |
| const |
|
inline |
The documentation for this struct was generated from the following file: