14 Jan
2011
14 Jan
'11
1:52 p.m.
On 1/14/2011 8:32 PM, Joel Falcou wrote:
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.
See https://svn.boost.org/trac/boost/ticket/3783 -- Eric Niebler BoostPro Computing http://www.boostpro.com