Adobe Source Libraries 1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
expand_utf< T, U > Struct Template Reference

#include <unicode.hpp>

Inheritance diagram for expand_utf< T, U >:

Detailed Description

template<typename T, typename U>
struct adobe::expand_utf< T, U >
Template Parameters
Tis an 8, 16, or 32 bit integral type for a UTF code point
Uis an 8, 16, or 32 bit integral type for a UTF code point
Returns
expand_utf<T, U>::value is the maximum expansion when converting a UTF sequence from T to U determined by the following table:
source/result UTF-8 UTF-16 UTF-32
UTF-8 1 1 1
UTF-16 3 1 1
UTF-32 4 2 1
See also
copy_utf

Definition at line 520 of file unicode.hpp.