Boost logo

Boost :

From: Michael Marcin (mmarcin_at_[hidden])
Date: 2007-05-09 19:56:35


In the same vein as this discussion I was very suprised that
lexical_cast<bool>("true") threw bad_lexical_cast on me.

Can't this be made to work by simply putting
"stream.setf(std::ios::boolalpha);" inside of lexical_stream's constructor?

Thanks,

Michael Marcin


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk