Boost logo

Boost :

From: Brock Peabody (brock.peabody_at_[hidden])
Date: 2006-04-12 18:03:25


> On Behalf Of David Abrahams

> Local functions would be great. I still think we need lambda
> expressions to handle the simple
>
> _1->first < 0

That's awesome! What about

              _1.first < 0

? If we're going that far how about currying? Could we eliminate the
need
for bind completely?

              _1.f(_2) < 0

> I think the syntax should be
>
> auto(x){ x->first < 0 }

I like that! Would you be able to name them? If so then would I ever
need to use the word 'template' with a function again?


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