is_unicode_scalar_value¶
This checks if the provided type is a unicode_scalar_value.
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☢️☢️.
Warning
⚠️ Note there are some expectations of scalar value types. If your type violates these expectations then code depending on them is free to execute ☢️☢️Undefined Behavior☢️☢️.
-
template<typename _Type>
class is_unicode_scalar_value : public std::integral_constant<bool, ::std::is_same_v<remove_cvref_t<_Type>, __txt_impl::__unicode_scalar_value>>¶
-
template<typename _Type>
constexpr bool ztd::text::is_unicode_scalar_value_v = is_unicode_scalar_value<_Type>::value¶