This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: basic_streambuf / locale::ctype problems


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]