|
Boost : |
Subject: Re: [boost] [lexical_cast] locale dependent result?
From: Alexander Lamaison (awl03_at_[hidden])
Date: 2011-03-02 08:48:49
On Wed, 02 Mar 2011 13:13:13 +0100, Mathias Gaunard wrote:
> 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.
Is this going to make an appearance in Boost any time soon? It looks very
promising but I can't afford another dependency on non-boost code.
Alex
-- Easy SFTP for Windows Explorer (http://www.swish-sftp.org)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk