
"David Abrahams" <dave@boost-consulting.com> wrote in message news:uacw8xwl7.fsf@boost-consulting.com...
"Jonathan Turkanis" <technews@kangaroologic.com> writes:
"Eric Niebler" <eric@boost-consulting.com> wrote in message news:41374F88.9010100@boost-consulting.com...
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'. Jonathan