Boost logo

Boost Users :

Subject: [Boost-users] casting with boost
From: zeev mintz (zeevmintz_at_[hidden])
Date: 2009-08-11 09:16:19


hi,
i'm trying to do some simple casts using boost, to and from webToolkit widgets, i.e
 
int i = 42;
WString str;
str = boost::lexical_cast<WString>(i);
 
i get a compilaton error that goes something like this:
lexical_cast.hpp(768): no operator ">>" matches these oprands...
 
could it be a matter of updating my boost version? ( i'm using boost version 1.35)
is there another way to make conversions without boost?
thanks,
Shalev. 



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