Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2004-09-02 19:26:38

"David Abrahams" <dave_at_[hidden]> wrote in message
> "Jonathan Turkanis" <technews_at_[hidden]> writes:
> > "Eric Niebler" <eric_at_[hidden]> wrote in message
> >
> >>

> >> Yikes! Where did apply_if go? The docs still talk about apply_if. Is its
> >> absence an oversight or by-design?
> >
> > Can I assume it's now 'eval_if'?
> >
> > If so, I like it better, since there's no temptation to confuse apply_if and
> > apply.
> Yes. The problem was that "apply_if" had the wrong implications.
> mpl::apply applies lambda and then evaluates the resulting
> metafunction class. mpl::eval_if evaluates one of two nullary
> metafunctions, based on a condition.

Yeah, that's what I meant. Jusging just by the names, 'apply_if' sounds like a
conditional version of 'apply'.


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