![]() |
![]() |
|
#include <pantheios/inserters/variant_bool.hpp>
Consider the following statement:
char s[] = "abc"; std::string str("def"); VARIANT_BOOL b = VARIANT_FALSE; pantheios::log(pantheios::notice, "s=", s, ", b=", pantheios::variant_bool(b), ", str=", str);
This will produce the output:
s=abc, b=false, str=def
Construction | |
variant_bool (VARIANT_BOOL value) | |
Construct from a variant_bool value. | |
Public Types | |
Member Types | |
typedef boolean | parent_class_type |
typedef variant_bool | class_type |
Public Member Functions | |
Implementation | |
virtual pan_slice_t const * | get_slice_ (bool value) const |
variant_bool | ( | VARIANT_BOOL | value | ) | [inline, explicit] |
Construct from a variant_bool value.
value | The variant_bool whose value will be represented as a string |
|
|
pantheios Library documentation © Matthew Wilson & Synesis Software, 2006-2011 |
|