Boost logo

Boost Users :

From: Paul Wendt (pwendt_at_[hidden])
Date: 2003-05-12 12:54:33


Hello,

I'm trying to get lexical_cast to convert a std::string to bool; I realize that
this is done with normal IOStreams by using boolalpha. Is there a way
to do this with lexical_cast? I saw some old posts in the archives and
they were apparently with older code bases because I was unable to get
their code snippets to work properly [either that or my compiler is
messed up :)].

For reference, I use Visual Studio .NET 2002.

Thank you very much for any assistance in advance.

--Paul


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