Boost logo

Boost Users :

From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2008-07-06 17:20:30


Hi:
What is the best way (in terms of efficiency) to convert an std::vector
of wchar_t to std::wstring.
I can think of a oupple of aproaches:
1. using std::copy.
2. using boost::lexical_cast.
3 using boost::foreach
4. Usin he boost::serialization library.
The std::wstring doesn't ned to be output to a file.
Any advice apreciated.
Sean.
 

__________ Information from ESET NOD32 Antivirus, version of virus
signature database 3244 (20080705) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net