The Battle for Wesnoth  1.15.2+dev
Public Member Functions | List of all members
implementation::lexical_caster< unsigned long long, From, void, std::enable_if_t< boost::mpl::has_key< boost::mpl::set< char *, const char * >, From >::value > > Struct Template Reference

Specialized conversion class. More...

#include <lexical_cast.hpp>

Public Member Functions

unsigned long long operator() (From value, boost::optional< unsigned long long > fallback) const
 

Detailed Description

template<class From>
struct implementation::lexical_caster< unsigned long long, From, void, std::enable_if_t< boost::mpl::has_key< boost::mpl::set< char *, const char * >, From >::value > >

Specialized conversion class.

Specialized for returning a unsigned long long from a (const) char*.

Note
is separate from the other unsigned types since a unsigned long long has a performance penalty at 32 bit systems.

Definition at line 376 of file lexical_cast.hpp.

Member Function Documentation

◆ operator()()

template<class From >
unsigned long long implementation::lexical_caster< unsigned long long, From, void, std::enable_if_t< boost::mpl::has_key< boost::mpl::set< char *, const char * >, From >::value > >::operator() ( From  value,
boost::optional< unsigned long long >  fallback 
) const
inline

Definition at line 383 of file lexical_cast.hpp.

References DEBUG_THROW, and lexical_cast().


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