Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-11-04 16:33:38


Eric Niebler wrote:
> I have a preprocessing task that exceeds my limited abilities. If any
> PP gurus want to step in and prevent me from hurting myself further, I
> would be very grateful.
>
> My problem is this: I want to mpl::and_ together a bunch of
> predicates. mpl::and_ has a limit of 4 arguments. So this is wrong:
>
> mpl::and_< pred1, pred2, pred3, pred4, pred5 >
>
> but this is ok:
>
> mpl::and_< pred1, pred2, pred3, mpl::and_< pred4, pred5 > >

Would folding a predicate sequence using and_ work?


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