The Battle for Wesnoth  1.15.2+dev
Public Member Functions | List of all members
test_throw::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...

Public Member Functions

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

Detailed Description

template<class To, class From>
struct test_throw::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 434 of file test_lexical_cast.cpp.

Member Function Documentation

◆ operator()()

template<class To , class From >
To test_throw::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 441 of file test_lexical_cast.cpp.


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