This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: basic_streambuf / locale::ctype problems
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- To: jack_reeves at bleading-edge dot com
- Cc: libstdc++ at gcc dot gnu dot org
- Date: 29 Jun 2002 20:20:36 +0200
- Subject: Re: basic_streambuf / locale::ctype problems
- Organization: CodeSourcery, LLC
- References: <F151bgIK78ULGKv96el000018ff@hotmail.com>
"Jack Reeves" <jackw_reeves@hotmail.com> writes:
[...]
| As written, this program has undefined behavior. Basic_stringstream<int>
| depends upon char_traits<int>. The Standard requires only a declaration for
| the template char_traits,
No, the standard does define a template class named std::char_traits<>
as per 21.1/1.
-- Gaby