The Battle for Wesnoth  1.15.2+dev
Public Member Functions | List of all members
implementation::lexical_caster< long long, std::string > Struct Template Reference

Specialized conversion class. More...

#include <lexical_cast.hpp>

Public Member Functions

long long operator() (const std::string &value, boost::optional< long long > fallback) const
 

Detailed Description

template<>
struct implementation::lexical_caster< long long, std::string >

Specialized conversion class.

Specialized for returning a long long from a std::string.

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

Definition at line 220 of file lexical_cast.hpp.

Member Function Documentation

◆ operator()()

long long implementation::lexical_caster< long long, std::string >::operator() ( const std::string &  value,
boost::optional< long long >  fallback 
) const
inline

Definition at line 225 of file lexical_cast.hpp.

References DEBUG_THROW.


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