Boost logo

Boost :

From: Boris (boriss_at_[hidden])
Date: 2006-06-29 12:58:26


Philippe Vaucher wrote:
>> Is there anything in Boost which I can use to convert a more
>> descriptive string like "60%" to a double?
>>
>
> The real answer is I don't know but maybe something like the following
> should do:

Yes, I use now "something like this". :) However I wonder if there is
something more comfortable. The facets in std::locale::numeric seem to
support all kinds of punctuation but no percent sign.

Boris


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