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

Specialized conversion class. More...

#include <lexical_cast.hpp>

Public Member Functions

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

Detailed Description

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 214 of file lexical_cast.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 219 of file lexical_cast.hpp.

References DEBUG_THROW.


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