This type trait is in all aspects equivalent to ArrayTraits, only that this struct provides traits on zero-terminated character arrays, while ArrayTraits is about non-zero-terminated arrays.
Please, therefore consult the documentation of type ArrayTraits.
TStringSource | The type for which specializations of this struct provide array type-traits. |
TChar | The character type of the character array that specializations provide type-traits for. |
Definition at line 137 of file chartraits.inl.
Public Static Field Index: | |
static constexpr Policy | Access = Policy::NONE |
static constexpr Policy | Construction = Policy::NONE |
Public Static Method Index: | |
static const TChar * | Buffer (const TStringSource &src) |
static TStringSource | Construct (const TChar *array, integer length) |
static integer | Length (const TStringSource &src) |
|
staticconstexpr |
Provides information about how the zero-terminated character arrays of instances of type TStringSource may be accessed.
Definition at line 141 of file chartraits.inl.
|
staticconstexpr |
Provides information about if and how instances of type TStringSource may be created from zero-terminated character arrays.
Definition at line 145 of file chartraits.inl.
|
static |
Same as corresponding method Buffer of sibling struct ArrayTraits.
src | The source object of external type TStringSource. |
|
static |
Same as corresponding method Construct of sibling struct ArrayTraits.
array | The external zero-terminated array to be used to create the return value. |
length | The length of the external array. |
|
static |
Same as corresponding method Length of sibling struct ArrayTraits.
src | The source object of external type TStringSource. |