"Edward Diener" <[EMAIL PROTECTED]> writes:

> "David Abrahams" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>>
>> 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
   [EMAIL PROTECTED] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to