A wrapper for bool to get the correct streaming ("yes"/"no"). More...
#include <config_attribute_value.hpp>
| Public Member Functions | |
| yes_no (bool value=false) | |
| operator bool () const | |
| const std::string & | str () const | 
| Private Attributes | |
| bool | value_ | 
A wrapper for bool to get the correct streaming ("yes"/"no").
Most visitors can simply treat this as bool.
Definition at line 79 of file config_attribute_value.hpp.
| 
 | inlineexplicit | 
Definition at line 83 of file config_attribute_value.hpp.
| 
 | inline | 
Definition at line 84 of file config_attribute_value.hpp.
References value_.
| 
 | inline | 
Definition at line 86 of file config_attribute_value.hpp.
References config_attribute_value::s_no, config_attribute_value::s_yes, and value_.
| 
 | private | 
Definition at line 81 of file config_attribute_value.hpp.
Referenced by operator bool(), and str().