
9 May
2007
9 May
'07
11:56 p.m.
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