Boost logo

Boost :

Subject: Re: [boost] [lexical_cast] locale dependent result?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-03-02 07:13:13


On 02/03/2011 13:00, Alexander Lamaison wrote:

> If this is the case, what would be the correct way to get a canonical,
> locale-independent string from an integer?

You could use construe_cast, which uses Spirit instead of C++ iostreams.
It is also much faster.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk