diff options
Diffstat (limited to 'libcxx/include/__format/formatter_string.h')
-rw-r--r-- | libcxx/include/__format/formatter_string.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libcxx/include/__format/formatter_string.h b/libcxx/include/__format/formatter_string.h index 75a81f5184a0..04950faa4a21 100644 --- a/libcxx/include/__format/formatter_string.h +++ b/libcxx/include/__format/formatter_string.h @@ -64,7 +64,7 @@ public: // [format.formatter.spec]/2.2 For each charT, the string type specializations // Formatter const char*. -template <class _CharT> +template <__formatter::__char_type _CharT> struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<const _CharT*, _CharT> : public __format_spec::__formatter_string<_CharT> { @@ -98,7 +98,7 @@ struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT }; // Formatter char*. -template <class _CharT> +template <__formatter::__char_type _CharT> struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<_CharT*, _CharT> : public formatter<const _CharT*, _CharT> { using _Base = formatter<const _CharT*, _CharT>; @@ -110,7 +110,7 @@ struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT }; // Formatter const char[]. -template <class _CharT, size_t _Size> +template <__formatter::__char_type _CharT, size_t _Size> struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<const _CharT[_Size], _CharT> : public __format_spec::__formatter_string<_CharT> { @@ -123,7 +123,7 @@ struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT }; // Formatter std::string. -template <class _CharT, class _Traits, class _Allocator> +template <__formatter::__char_type _CharT, class _Traits, class _Allocator> struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<basic_string<_CharT, _Traits, _Allocator>, _CharT> : public __format_spec::__formatter_string<_CharT> { @@ -138,7 +138,7 @@ struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT }; // Formatter std::string_view. -template <class _CharT, class _Traits> +template <__formatter::__char_type _CharT, class _Traits> struct _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT formatter<basic_string_view<_CharT, _Traits>, _CharT> : public __format_spec::__formatter_string<_CharT> { using _Base = __format_spec::__formatter_string<_CharT>; |