From: Rob Stewart (stewart_at_[hidden])
Date: 2005-08-05 11:11:44
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)
Is the _ member needed?
What about this:
That only needs, using the type names from my library,
template <class Range, class Pred>
sometype<Range,Pred> operator @(all_values<Range> lhs_i, Pred predicate_i);
and then we need
template <class Range1, class Pred, class Range2>
bool operator @(sometype<Range1,Pred> lhs_i, any_value<Range2> rhs_i);
-- 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