Subject: Re: [boost] [type_traits] Rewrite and dependency free version
From: John Maddock (boost.regex_at_[hidden])
Date: 2015-01-19 04:21:38


>> 1) Can folks please give this a test? Both the type_traits tests and
>> whatever real world tests may be out there (or other Boost libraries of
>> course).
>
> I am seeing that the type_traits macro
> BOOST_TT_AUX_TEMPLATE_ARITY_SPEC(i, name), which is in
> type_traits/detail/template_arity_spec.hpp, is used extensively in
> function_types and also in a few other libraries. In Version2 this
> header file no longer exists. So function_types fails and libraries
> which depend on function_types, such as tti, fails when type_traits is
> switched to Version2.
>
> I am not sure what this macro does but maybe we can move it to MPL, call
> it BOOST_MPL_AUX_TEMPLATE_ARITY_SPEC(i, name), and have function_types
> and other libraries which use it then change to the new header file in
> MPL and invoke the macro under it no name. The macro itself looks as if
> all its dependencies are on MPL.

I noticed that one and other lib's are using those internal details :-(

I think I can add back versions of those headers that don't actually use
mpl, let me see.... John.