Boost logo

Boost :

From: Robert Ramey (ramey_at_[hidden])
Date: 2007-03-30 22:39:39


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk