The Battle for Wesnoth  1.19.8+dev
Public Member Functions | List of all members
implementation::is_arithmetic_v< From > >> Struct Template Reference

Specialized conversion class. More...

#include <lexical_cast.hpp>

Public Member Functions

std::string operator() (From value, utils::optional< std::string >) const
 

Detailed Description

template<typename From>
struct implementation::is_arithmetic_v< From > >>

Specialized conversion class.

Specialized for returning strings from an integral type or a pointer to an integral type.

Definition at line 164 of file lexical_cast.hpp.

Member Function Documentation

◆ operator()()

template<typename From >
std::string implementation::is_arithmetic_v< From > >>::operator() ( From  value,
utils::optional< std::string >   
) const
inline

Definition at line 171 of file lexical_cast.hpp.

References DEBUG_THROW, and utils::charconv_buffer< TNum >::to_string().


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