id summary reporter owner description type status milestone component version severity resolution keywords cc 5672 Intel compiler failure with BOOST_MPL_HAS_XXX_TEMPLATE_NAMED_DEF anonymous Joel Falcou "Attempting to use the Intel 11.1 or 12.0 compiler to test the existence of a nested template using the macro BOOST_MPL_HAS_XXX_TEMPLATE_NAMED_DEF results in a compiler error. When running the has_xxx.cpp MPL test against Intel 12.0, the error message is: ""has_xxx.cpp(20): error: more than one instance of overloaded function ""has_xxx_template::has_xxx_template_introspect::has_xxx_template_test [with T=a5, fallback_=boost::mpl::bool_, U=a5]"" matches the argument list: function template ""boost::mpl::aux::yes_tag has_xxx_template::has_xxx_template_introspect::has_xxx_template_test(const volatile boost::mpl::aux::type_wrapper *, has_xxx_template>::has_xxx_template_introspect::has_xxx_template_substitute0 *) [with T=a5, fallback_=boost::mpl::bool_, U=a5]"" function template ""boost::mpl::aux::yes_tag has_xxx_template::has_xxx_template_introspect::has_xxx_template_test(const volatile boost::mpl::aux::type_wrapper *, has_xxx_template>::has_xxx_template_introspect::has_xxx_template_substitute1 *) [with T=a5, fallback_=boost::mpl::bool_, U=a5]"" function template ""boost::mpl::aux::yes_tag has_xxx_template::has_xxx_template_introspect::has_xxx_template_test(const volatile boost::mpl::aux::type_wrapper *, has_xxx_template>::has_xxx_template_introspect::has_xxx_template_substitute2 *) [with T=a5, fallback_=boost::mpl::bool_, U=a5]"" function template ""boost::mpl::aux::yes_tag has_xxx_template::has_xxx_template_introspect::has_xxx_template_test(const volatile boost::mpl::aux::type_wrapper *, has_xxx_template>::has_xxx_template_introspect::has_xxx_template_substitute3 *) [with T=a5, fallback_=boost::mpl::bool_, U=a5]"" function template ""boost::mpl::aux::yes_tag has_xxx_template::has_xxx_template_introspect::has_xxx_template_test(const volatile boost::mpl::aux::type_wrapper *, has_xxx_template>::has_xxx_template_introspect::has_xxx_template_substitute4 *) [with T=a5, fallback_=boost::mpl::bool_, U=a5]"" argument types are: (int) BOOST_MPL_HAS_XXX_TEMPLATE_NAMED_DEF(has_xxx_template, xxx, false) ^ detected during: instantiation of class ""has_xxx_template::has_xxx_template_introspect [with T=a5, fallback_=boost::mpl::bool_, U=a5]"" at line 20 instantiation of class ""has_xxx_template [with T=a5, fallback_=boost::mpl::bool_]"" at line 148 of ""../../../boost/mpl/assert.hpp"" instantiation of class ""boost::mpl::assert_arg_pred_not

[with P=has_xxx_template>]"" at line 82"" The Intel 11.1 compiler has the same error. John Maddock has reported this to Intel as Intel support ID #635997. " Bugs new To Be Determined mpl Boost Development Trunk Problem