$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: steve ahlgren (steveahlgren_at_[hidden])
Date: 2005-02-18 12:54:10
Hello :
I would like to use lexical_cast to convert to/from std::wstring on vc
2003 but I'm failing.
These fail :
int foo = boost::lexical_cast< int >( std::wstring( L"1" ) );
std::string bar = boost::lexical_cast< std::string >( std::wstring( L"a" ) );
std::wstring fred = boost::lexical_cast< std::wstring >( std::string(
"Fred" ) );
Any hints would be greatly appreciated and kindly rewarded with good
programming karma.
Thanks in advance;
Steve a.