Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-04-17 12:25:45

On Wednesday 17 April 2002 12:30 pm, you wrote:

> > Issue: function chaining
> > - Loki Functor: supports chaining of function objects (call first
> function
> > object, then second function object).
> > - Boost.Function: no equivalent.
> > - My opinion: useful tool, but it belongs in a functional composition
> > library and not in a function object wrapper.
> > - Proposed resolution: maybe add chain() to boost::functional?
> I second this feature, I need function chaining everyday, and I've myself
> brought up the issue some days ago (you replied suggesting the use of
> lambda library, but I'd still like to have a solution that doesn't use
> lambda, for several reasons). Also, the syntactic sugar I've proposed
> (operator+) still looks good to me.
> Giovanni Bajo

operator+ would be great, but it isn't feasible for arbitrary function
objects. That's why I would propose just a 'chain' function object.


Boost list run by bdawes at, gregod at, cpdaniel at, john at