From: Martin Adrian (adrianm_at_[hidden])
Date: 2006-04-15 01:53:02
> The thing is, lexical_cast in its current implementation, is simple and
> elegant, and perfectly usable for most cases.
> It doesn't preclude optimisations in the *implementation*, and some such
> optimisations have been suggested.
In theory yes but since lexical_cast always work on the global locale
optimizations are difficult.
You can't just specialize on e.g. int to string conversion since you alse need
to confirm that the default locale is the same as the classic one (or
implement locale handling in the optimization).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk