Boost logo

Boost Users :

From: Victor A. Wagner, Jr. (vawjr_at_[hidden])
Date: 2003-08-15 16:24:13

well, when I change _tmain to main and _TCHAR to char
and the \\ to //
it compiles and runs (debug compile) on vs.net2003
boost extracted from CVS yesterday

btw, when you say \\ERROR what do you mean?
what version of boost are you using?
At Friday 2003-08-15 12:24, you wrote:
>If possible, please advise.
>using lexical cast w/unsigned short fails, on MSVC7:
>#include <boost\lexical_cast.hpp>
>#include <iostream>
>int _tmain(int argc, _TCHAR* argv[])
>std::string aStr("2");
>unsigned short i = boost::lexical_cast<unsigned short>(aStr); \\ ERROR!
>std::cout << i << std::endl;
>return 0;
>Yahoo! Groups Sponsor
>Info: <<>>
>Unsubscribe: <mailto:boost-users-unsubscribe_at_[hidden]>
>Your use of Yahoo! Groups is subject to the
><>Yahoo! Terms of Service.

Victor A. Wagner Jr.
The five most dangerous words in the English language:
               "There oughta be a law"

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at