Date: 2002-01-24 11:05:05
"David Abrahams" <david.abrahams_at_[hidden]> writes:
| ----- Original Message -----
>> 2) to_string() is the established, novice-friendly name for this idiom;
>> with a working lexical_cast, I'd prefer to_string when I want to_string
>> behavior since it leaves less room for errors.
| I find this argument potent. As far as I'm concerned, you could stick this
| in boost/utility.hpp.
Why not make the to_string use lexical_cast then?
template <class V>
std::string to_string(V const & v)
and do the specialization for lexical_cast so that users of that also
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk