
19 Feb
2004
19 Feb
'04
7:10 p.m.
On Thu, Feb 19, 2004 at 08:10:54PM +0200, Peter Dimov wrote:
Brian McNamara wrote:
Indeed; also, FC++ and boost have a different notions "arity", so this doesn't "blend" well into boost functions.
Can you elaborate please?
Yes; please see a message in the indirect functoids thread, where I give the example:
For example, when you have implicit currying, you expect that
f(x,y)(z) == f(x,y,z)
to hold. But look:
int i, j, k; _1(i, j, k) // returns i, discards j and k _1(i, j)(k) // Oops! Not the same!
-- -Brian McNamara (lorgon@cc.gatech.edu)