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

Specialized conversion class. More...

#include <lexical_cast.hpp>

Public Member Functions

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

Detailed Description

Specialized conversion class.

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

is specialized to silence C4804 from MSVC.

Definition at line 527 of file lexical_cast.hpp.

Member Function Documentation

◆ operator()()

bool implementation::lexical_caster< bool, std::string >::operator() ( const std::string &  value,
std::optional< bool >   
) const

Definition at line 529 of file lexical_cast.hpp.

References DEBUG_THROW.

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