Boost logo

Boost Users :

From: n.torrey.pines_at_[hidden]
Date: 2007-03-17 05:21:15


lexical_cast<int>("1e4") == 1 // because of the way streams work of course

I think that in the interests of robustness, and unless a better
solution can be found, lexical_cast<> should be secialized for some
types.

Another solution might be to make sure that the whole string argument
got consumed (rejecting things like "123 " )


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