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<::ztd::remove_cvref_t<_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).
- Template Parameters
_Type – The encoding type to check.
-
template<typename _Type>
constexpr bool ztd::text::is_unicode_encoding_v = is_unicode_encoding<::ztd::remove_cvref_t<_Type>>::value An alias of the inner
value
for ztd::text::is_unicode_encoding.