code_unit

template<typename _Type>
class code_unit

Retrieves the code unit type for the given type.

Public Types

using type = typename remove_cvref_t<_Type>::code_unit

The code unit type for the encoding type.

using ztd::text::code_unit_t = typename code_unit<remove_cvref_t<_Type>>::type

A typename alias for ztd::text::code_unit.