
10 May
2007
10 May
'07
1:56 a.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