Boost logo

Boost :

Subject: Re: [boost] [local] Bound types for concepts, etc?
From: Vicente Botet (vicente.botet_at_[hidden])
Date: 2011-02-13 15:17:29

Lorenzo Caminiti wrote:
> On Sun, Feb 6, 2011 at 2:25 PM, Mathias Gaunard
> <mathias.gaunard_at_[hidden]> wrote:
>> As I said, it does. With Boost.Local, you can still call polymorphic
>> functions on the variables captured from scope without specifying the
>> types
>> of the arguments.
> I am thinking to provide the type of the bound parameters within the
> local function body as `<BOUND_PARAM_NAME>_type`. This way you can use
> such types to check concepts, etc...
> Is there value in this?

Yes sure. What about adding a macro BOOST_LOCAL_TYPEOF that hides the name
of the type and will allow you to change it if some constraints force appear
in the future?


View this message in context:
Sent from the Boost - Dev mailing list archive at

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