Boost logo

Boost :

Subject: Re: [boost] Boost.Conversion - pre review request
From: Gordon Woodhull (gordon_at_[hidden])
Date: 2011-07-09 05:05:29

On Jul 9, 2011, at 2:52 AM, Jeroen Habraken wrote:
> On 9 July 2011 04:10, Gordon Woodhull <gordon_at_[hidden]> wrote:
>> (Jeroen, if you're reading this, can you convert to/from e.g. hexadecimal with Coerce?)
> It isn't possible at the moment but it is to be re-added during the
> Google Summer of Code. The syntax will probably look something like
> coerce::as<int>("0x17", tag::hex());

Aha, that's why I asked. Not currently compatible with Boost.Conversion: just as there's no way to supply iostream manipulators for Convert-style formatting, there's no way to supply tags for Coerce-style.

Vicente, do you have any thoughts on whether extra parameters could be added generically?


Boost list run by bdawes at, gregod at, cpdaniel at, john at