Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-03-22 09:10:25


From: "Douglas Gregor" <gregod_at_[hidden]>
> On Wednesday 20 March 2002 07:29 pm, you wrote:
> > Why not make that default and instead have:
> >
> > strict_arity(_1 + _2)
> >
> > ???
>
> Or more simply:
> arity<N>(_1 + _2)

Because nobody will use it. :-)

BTW I have provided a helper function make_adaptable in
boost/bind/make_adaptable.hpp that fixes both arity and parameter types.


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