$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2007-01-22 17:15:00
John Christopher wrote:
> Hello,
> Does Boost contain facilities to convert std::string into std::wstring and
> the other way around?
Should there?
std::string a;
std::wstring b(a.begin(),a.end());
std::string c(b.begin(),b.end());
All string algorithms in Boost are templates so they should work fine
with both std::string and std::wstring.
http://www.boost.org/doc/html/string_algo.html
Regards,
Tobias