Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-09-02 15:08:36

"Jonathan Turkanis" <technews_at_[hidden]> writes:

> "Eric Niebler" <eric_at_[hidden]> wrote in message
>> Aleksey Gurtovoy wrote:
>> > Everything has been tested locally, so the disturbance should be minimal.
>> > I'll post a detailed changelog later today. Metacomm regressions have
>> > been restored to run against the main trunk.
>> >
>> > --
>> > Aleksey Gurtovoy
>> > MetaCommunications Engineering
>> >
>> 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.

Dave Abrahams
Boost Consulting

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