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

Specialized conversion class. More...

Public Member Functions

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

Detailed Description

template<>
struct test_throw::implementation::lexical_caster< bool, std::string >

Specialized conversion class.

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

Note
is specialized to silence C4804 from MSVC.

Definition at line 491 of file test_lexical_cast.cpp.

Member Function Documentation

◆ operator()()

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

Definition at line 493 of file test_lexical_cast.cpp.


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