The Battle for Wesnoth  1.19.8+dev
Public Member Functions | List of all members
implementation::lexical_caster< bool, std::string_view, void, void > Struct Reference

Specialized conversion class. More...

#include <lexical_cast.hpp>

Public Member Functions

bool operator() (std::string_view str, utils::optional< bool > fallback) const
 

Detailed Description

Specialized conversion class.

Note
is specialized to silence C4804 from MSVC.

Definition at line 190 of file lexical_cast.hpp.

Member Function Documentation

◆ operator()()

bool implementation::lexical_caster< bool, std::string_view, void, void >::operator() ( std::string_view  str,
utils::optional< bool >  fallback 
) const
inline

Definition at line 197 of file lexical_cast.hpp.

References DEBUG_THROW, and utils::trim_for_from_chars().


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