This helper-struct is used to determine the corresponding ALib character type, in cases that a fixed size of characters is required. Specializations for size values 1
, 2
and 4
exists.
As an example, the QT Class Library uses a 2-byte character width, independent of compiler and platform. Therefore, to convert a QT character value to an ALib character value, the destination type is:
typename TT_CharOfSize<2>::type
TCharSize | The size of the required character type in bytes. |
Definition at line 603 of file chartraits.hpp.
#include <chartraits.hpp>
Public Type Index: | |
using | type = void |
using type = void |
One of the ALib character types, nchar, wchar or xchar.
Definition at line 608 of file chartraits.hpp.