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_ostringstream<unsigned short> causes segmentation faults



> does it make sense to use std::basic_ostringstream<unsigned short>?

It's legal.

> Is it a bug, an unsupported feature, or a "then don't"?

It's a bug that's been fixed in 3.1 and 3.2 for a bit. Please use recent
sources. I suggest trying the 3.1 release candidate.

Nathan's comments about throwing exceptions still applies: unformatted
input will work, but formatted input will require that non-required
locale facets be present. Thus, you'll have to imbue a locale that has
them in order for formatted input to work.

-benjamin


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