boost::serialization::no_codecvt ?

Hello, Does someone know what it does ? The documentation didn't clear my mind, this is what I found : no_codecvt = 2, // suppress alteration of codecvt facet Any help would be appreciated. Philippe

serialization uses std::streams for its input/output. The streams convert each character according to the the current locale and codecvt facets set on the stream. The serialization library will change (and later restore) the current codecvt facet or one that is faster to use. This is based on the assumption that archives (even text base ones) are not designed for human consumption and performance is a bigger consideration. In order to suppress the change/restore of the currently set codecvt facet on the archive, use flag when the archive is opened. Robert Ramey Philippe Vaucher wrote:
Hello,
Does someone know what it does ? The documentation didn't clear my mind, this is what I found :
no_codecvt = 2, // suppress alteration of codecvt facet
Any help would be appreciated. Philippe _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Philippe Vaucher
-
Robert Ramey