diff --git a/stl/inc/format b/stl/inc/format index 50ca187f1c..ef9f3af333 100644 --- a/stl/inc/format +++ b/stl/inc/format @@ -3331,9 +3331,12 @@ template <_Format_supported_charT _CharT> struct formatter : _Formatter_base {}; +template <_Format_supported_charT _CharT, size_t _Nx> +struct formatter<_CharT[_Nx], _CharT> : _Formatter_base<_CharT[_Nx], _CharT, _Basic_format_arg_type::_CString_type> {}; + template <_Format_supported_charT _CharT, size_t _Nx> struct formatter - : _Formatter_base {}; + : _Formatter_base<_CharT[_Nx], _CharT, _Basic_format_arg_type::_CString_type> {}; template <_Format_supported_charT _CharT, class _Traits, class _Allocator> struct formatter, _CharT>