Boost logo

Boost :

From: Brian McNamara (lorgon_at_[hidden])
Date: 2004-02-19 14:10:25


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_at_[hidden])

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