Parse character value as single-char string. More...
#include <senf/Utils/Console/Utility.hh>
Public Member Functions | |
CharAsString () | |
CharAsString (CharT value_) | |
operator CharT () const | |
Public Attributes | |
CharT | value |
Parse character value as single-char string.
This helper types is a wrapper around CharT which must be a character type. A value of this type will be represented as a single character string, not as numeric value (the default interpretation of char arguments in the console library).
This wrapper is used via type conversion using boost::function
to convert the argument/return type CharT to CharAsString<CharT>:
\tparam CharT character type, one of \c char, \c signed \c char or \c unsigned \c char
Definition at line 55 of file Utility.hh.
senf::console::CharAsString< CharT >::CharAsString | ( | ) |
senf::console::CharAsString< CharT >::CharAsString | ( | CharT | value_ | ) |
senf::console::CharAsString< CharT >::operator CharT | ( | ) | const |
CharT senf::console::CharAsString< CharT >::value |
Definition at line 60 of file Utility.hh.