Boost logo

Boost :

From: Rob Stewart (stewart_at_[hidden])
Date: 2005-08-05 21:25:13


From: David Abrahams <dave_at_[hidden]>
> Rob Stewart <stewart_at_[hidden]> writes:
> > From: David Abrahams <dave_at_[hidden]>
> >> Rob Stewart <stewart_at_[hidden]> writes:
> >> > From: David Abrahams <dave_at_[hidden]>
> >> >> Rob Stewart <stewart_at_[hidden]> writes:
> >> >>
> >> >> > all_of(a)(frobnicates, any_of(b))
> >> >> >
> >> >> I started there, but the placement of parens seems to arbitrary and
> >> >> unbalanced. Also, the whole point of infix is to get rid of those.
> >> >
> >> > So you think this is better?
> >> >
> >> >> >> all_of(a)._,frobnicates, any_of(b)
> >>
> >> Yes, but not as nice visually as
> >>
> >> all_of(a)._ <frobnicates> any_of(b)

I updated my library to support user-supplied predicates.

http://boost-sandbox.sourceforge.net/vault/index.php?action=downloadfile&filename=multivalues.zip&directory=rob_stewart&

-- 
Rob Stewart                           stewart_at_[hidden]
Software Engineer                     http://www.sig.com
Susquehanna International Group, LLP  using std::disclaimer;

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