cppfig 0.1.0
Modern C++20 compile-time type-safe configuration library
Loading...
Searching...
No Matches
cppfig::ConfigTraits< bool > Struct Reference

#include <traits.h>

Static Public Member Functions

static auto Serialize (bool value) -> Value
 
static auto Deserialize (const Value &value) -> std::optional< bool >
 
static auto ToString (bool value) -> std::string
 
static auto FromString (std::string_view str) -> std::optional< bool >
 

Member Function Documentation

◆ Deserialize()

static auto cppfig::ConfigTraits< bool >::Deserialize ( const Value value) -> std::optional<bool>
inlinestatic

◆ FromString()

static auto cppfig::ConfigTraits< bool >::FromString ( std::string_view  str) -> std::optional<bool>
inlinestatic

◆ Serialize()

static auto cppfig::ConfigTraits< bool >::Serialize ( bool  value) -> Value
inlinestatic

◆ ToString()

static auto cppfig::ConfigTraits< bool >::ToString ( bool  value) -> std::string
inlinestatic

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