Boost logo

Boost :

From: Robert Ramey (ramey_at_[hidden])
Date: 2002-11-15 23:41:48


Those interested in locale for text archives:

How does this strike you?

        text_iarchive(Stream &_is) :
                // archives always use classic locale
                #ifndef BOOST_NO_STD_LOCALE
                plocale = is.imbue(std::locale::classic());
                #ifndef BOOST_NO_STD_LOCALE

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

Boost list run by bdawes at, gregod at, cpdaniel at, john at