Boost logo

Boost :

Subject: Re: [boost] painless currying
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-08-24 12:52:10


On 24/08/2011 18:43, Thomas Heller wrote:

> Nice! I like the general idea of it!
> However, I am not really sure if adding stuff like this to
> phoenix::actor doesn't break stuff.

My suggestion would only affect evaluation of the 'call' proto node, not
phoenix::actor.

> As noted in one of my other posts, the problem is not really if the
> function is polymorphic or not. The problem is in variadic functions.
> I can't see a way to automically guess which overload the user wanted
> to call.

By polymorphic functions, I meant to say "functions with a template or
overloaded operator()", which covers variadic functions.

But that clarifies the problem indeed, the problem is in variable arity.


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