
17 Dec
2004
17 Dec
'04
10:57 p.m.
Jonathan Turkanis wrote:
Robert Ramey wrote:
Note the the serialization library contains code for doing exactly this.
Note that the implementation above is not dependent on codecvt nor on streams. It just converts wstring to string and back again.
The Dinkumware CoreX library also contains a component, wstring_convert, for this purpose. Since it doesn't make a detour through streams, it might be more efficient.
Jonathan
Robert Ramey