Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-01-18 10:04:37


"Edward Diener" <eddielee_at_[hidden]> writes:

> "David Abrahams" <dave_at_[hidden]> wrote in message
> news:un0lyy3d0.fsf_at_boost-consulting.com...
>>
>> In Boost.Python I'm using a system for interfaces such as this one
>> where optional template parameters can be passed in any order. I'm
>> using the properties of the type to detect their meaning. It works
>> great. Using boost/mpl/has_xxx.hpp (and, for compilers which don't
>> support it, is_base_and_derived) should be enough to build a nice
>> policy-based interface.
>
> Is the technique of allowing optional template parameters to be passed in
> any order a part of MPL ? I haven't looked at MPL at all since I didn't see
> it in Boost 1.29 but maybe it is there and I missed it.

No; it's implemented in Boost.Python using MPL components, though.

-- 
                       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