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
#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.orghttp://www.boost.org> Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.plhttp://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl> Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com
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"