The Battle for Wesnoth  1.15.2+dev
Public Member Functions | List of all members
implementation::lexical_caster< To, From, std::enable_if_t< std::is_unsigned< To >::value &&!std::is_same< To, unsigned long long >::value >, 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

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

Detailed Description

template<class To, class From>
struct implementation::lexical_caster< To, From, std::enable_if_t< std::is_unsigned< To >::value &&!std::is_same< To, unsigned long long >::value >, std::enable_if_t< boost::mpl::has_key< boost::mpl::set< char *, const char * >, From >::value > >

Specialized conversion class.

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

Definition at line 433 of file lexical_cast.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 440 of file lexical_cast.hpp.

References DEBUG_THROW, and lexical_cast().


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