ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
Public Types | List of all members
TT_CharOfSize< TCharSize > Struct Template Reference

#include <characters.hpp>

Inheritance diagram for TT_CharOfSize< TCharSize >:
[legend]
Collaboration diagram for TT_CharOfSize< TCharSize >:
[legend]

Class Description

template<int TCharSize>
struct aworx::lib::characters::TT_CharOfSize< TCharSize >

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 from compiler and platform. Therefore, to convert a QT character value to an ALib character value, the destination type is:

     typename TT_CharOfSize<2>::type
Template Parameters
TCharSizeThe size of the required character type in bytes.

Definition at line 648 of file characters.hpp.

Public Types

using type = void
 

Member Typedef Documentation

◆ type

using type = void

One of the ALib character types, nchar, wchar or xchar.

Definition at line 653 of file characters.hpp.


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