|
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
>ADVERTISEMENT
>
>Info: <<http://www.boost.org>http://www.boost.org>
>Wiki:
><<http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl>http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl>
>Unsubscribe: <mailto:boost-users-unsubscribe_at_[hidden]>
>
>
>Your use of Yahoo! Groups is subject to the
><http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
Victor A. Wagner Jr. http://rudbek.com
The five most dangerous words in the English language:
"There oughta be a law"
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