Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2004-05-06 21:29:08


On Thursday 06 May 2004 09:50 pm, David Abrahams wrote:
> > Going to passing by value would take us further from that ideal
> > equivalence.
>
> I agree. IMO the best answer for now is to generate the 2^N overloads
> of operator() for some user-selectable N. Unary and binary functions
> are so common that IMO usually N==2 will do it.

Agreed.

        Doug


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