Gentlemen,
Those interested in locale for text archives:
How does this strike you?
text_iarchive(Stream &_is) :
is(_is)
{
// archives always use classic locale
#ifndef BOOST_NO_STD_LOCALE
plocale = is.imbue(std::locale::classic());
#endif
init();
}
~text_iarchive(){
#ifndef BOOST_NO_STD_LOCALE
is.imbue(plocale);
#endif
}
Another observation:
I note that my test.cpp program includes wchar_t member variables initialized to
values in excess of 256.
The system doesn't seem to lose any informaton in storing/loading to a stream with
classic locale.
Robert Ramey
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost