Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-01-03 10:22:51


Aleksey Gurtovoy <agurtovoy_at_[hidden]> writes:

> David Abrahams wrote:
>> Second thing: you can save yourself lots of typenames by taking
>> advantage of the way MPL lets you pass an uninstantiated metafunction,
>> without getting its nested ::type member, wherever a bool_c<...> is
>> expected:
>
> Uhm, that's not exactly correct. I would re-formulate it along these lines:
>
> To reduce the notational overhead imposed by the specifics of the
> compile-time domain, many of MPL metafunctions, when fully-curried (provided
> with all arguments), directly support the interface of the Integral Constant
> concept:

Yes, I was using shorthand. But I guess if we're putting together
tutorial WIKI pages, an accurate description is in order. Thanks.

-Dave

-- 
                       David Abrahams
   dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk