Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-03-08 07:21:20


From: "ysapir" <ysapir_at_[hidden]>
> Hi. I had suggested the use of function pointers. See:
>
> http://groups.yahoo.com/group/boost/message/24241
>
> This is better than just _1() since you can write code that looks as
> if it uses the original bind: bind(some_func, _1, _2).
>
> Peter Dimov didn't like this idea and since it's his library, it's
> his decision.

No, not really. The trick is fine. I was concerned about the portability of
the code, but we may give it a try if this is the solution that will make
everyone happy.

If we had templated typedefs I could've made arg<N> an alias for _arg<N> (*)
(). :-)


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