Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-03-19 10:45:29

From: "Jaakko Jarvi" <jajarvi_at_[hidden]>
> > For example, how can I make the first argument of a bind() expression be
> > evaluated? I write a helper apply<> function object. It needs no support
> > from bind in order to work.
> This you can see from another angle too. Why should the first argument be
> treated differently to begin with?

Well, there are technical reasons for it (the return type deduction.) I just
used it as an example.

> The things that are not function objects are control constructs,
> exception throwing and handling expressions and cast expressions.
> There are reasons for this. Control structures require special support
> from the library anyway.

Yes, agreed. I never objected to if_then[_else] - it is useful, and we have
&&, ||, ?: after all. This is where I would draw the line.

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