From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-01-24 11:48:50
> Why not make the to_string use lexical_cast then?
> template <class V>
> std::string to_string(V const & v)
> return boost::lexical_cast<string>(v);
> and do the specialization for lexical_cast so that users of that also
> can benefit?
Why not make the specialization of lexical_cast use to_string? :-)
What is the difference? The point is that I need a "value to string"
facility, that works, now, on compilers without partial specialization.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk