Boost logo

Boost Users :

Subject: Re: [Boost-users] [Proto] Anything Callable
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2011-01-14 08:32:09


On 14/01/11 14:08, Hossein Haeri wrote:
> Dear all,
>
> How can I have a grammar that matches a terminal of any callable type? Be it a function, function object, or a Boost.Function (specifically).

Hmmm, IIRC proto has a can_be_called metafunction, dunno how far it
reaches in term of detection of possible corner cases.
BTW Eric, any objection to extract can_be_called to merge in
boost.traits ? I think it is really useful externally.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net