File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -489,8 +489,6 @@ class CharTraits<char> : public BasicCharTraits<char> {
489489 static char convert (wchar_t );
490490
491491public:
492- typedef const wchar_t *UnsupportedStrType;
493-
494492 static char convert (char value) { return value; }
495493
496494 // Formats a floating-point number.
@@ -502,8 +500,6 @@ class CharTraits<char> : public BasicCharTraits<char> {
502500template <>
503501class CharTraits <wchar_t > : public BasicCharTraits<wchar_t > {
504502 public:
505- typedef const char *UnsupportedStrType;
506-
507503 static wchar_t convert (char value) { return value; }
508504 static wchar_t convert (wchar_t value) { return value; }
509505
@@ -1614,10 +1610,10 @@ class BasicWriter {
16141610 // and strings to a char stream. If you want to print a wide string as a
16151611 // pointer as std::ostream does, cast it to const void*.
16161612 // Do not implement!
1617- void operator <<(typename internal::CharTraits<Char>::UnsupportedStrType);
1613+ void operator <<(
1614+ typename internal::WCharHelper<const wchar_t *, Char>::Unsupported);
16181615 void operator <<(typename internal::WCharHelper<wchar_t , Char>::Unsupported);
16191616
1620-
16211617 // Appends floating-point length specifier to the format string.
16221618 // The second argument is only used for overload resolution.
16231619 void append_float_length (Char *&format_ptr, long double ) {
You can’t perform that action at this time.
0 commit comments