|
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
> news:41374F88.9010100_at_boost-consulting.com...
>>
>> 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 http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk