Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-07-06 06:00:48

From: <fkoh_at_[hidden]>
> I propose additions to the compose library to allow
> (iterator_proxy<int>()>4) && (iterator_proxy<int>()<7)
> as another way of writing
> compose_f_gx_hx(logical_and<bool>(),bind2nd(greater<int>(),4),bind2nd
> (less<int>(),7))

See that allows you to express the above as

free1 > 4 && free1 < 7

Depending on the compiler you're using, if Lambda doesn't work for you, you
may try my 'expression' library (in the Files area.)

Peter Dimov
Multi Media Ltd.

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