Shalev, This should work: str = boost::lexical_cast<std::string>(i);
It's not a boost thing; WStream does not have the necessary operators for lexical_cast to work, but it does interoperate with the std::string types. Regards, Wim. 2009/8/11 zeev mintz <[email protected]> > > hi, > i'm trying to do some simple casts using boost, 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. > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
