|
Boost : |
From: Frederick KOH (fkoh_at_[hidden])
Date: 2001-07-08 10:00:58
I had a look at both. Neither have been
tested on msvc6. I need only the
subset that does the &&,, || and other
operators. Is there any way I can get either
of them to work with msvc6 (on this subset of features)?
--- In boost_at_y..., "Peter Dimov" <pdimov_at_m...> wrote:
> From: <fkoh_at_i...>
> > 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 http://lambda.cs.utu.fi 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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk