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

Specialized conversion class. More...

#include <lexical_cast.hpp>

Public Member Functions

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

Detailed Description

Specialized conversion class.

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

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

Definition at line 422 of file lexical_cast.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 427 of file lexical_cast.hpp.

References DEBUG_THROW.

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