is_unicode_encoding

Note

User Specializations: ✔️ Okay! You can add other types to this classification by specializing the class template to a definition that derives from std::true_type, or turn it off explicitly by having a definition that derives from std::false_type. Note that specializing any type not explicitly marked with this notice is ☢️☢️Undefined Behavior☢️☢️.

template<typename _Type>
class is_unicode_encoding : public __is_unicode_encoding_sfinae<_Type>

Checks whether or not the encoding has declared it can handle all of Unicode.

Remark

If the encoding object does not define is_unicode_encoding, it is assumed to be false (the safest default).

tparam _Type

The encoding type to check.

template<typename _Type>
constexpr bool ztd::text::is_unicode_encoding_v = is_unicode_encoding<_Type>::value

A ::value alias for ztd::text::is_unicode_encoding.