diff --git a/include/boost/detail/named_template_params.hpp b/include/boost/detail/named_template_params.hpp index 8998854..4648dc6 100644 --- a/include/boost/detail/named_template_params.hpp +++ b/include/boost/detail/named_template_params.hpp @@ -88,24 +88,9 @@ namespace boost { // we use is_convertible. struct named_template_param_base { }; - struct is_convertible_to_named_param { - template struct bind { - enum { value = is_convertible::value }; - }; - }; - struct not_named_param { - template struct bind { - enum { value = false }; - }; - }; - template struct is_named_param_list { - // If X is a reference type, we can't form a pointer and use is_convertible, - // but we know that if it is a reference, it isn't a named parameter. - typedef typename ct_if::value, - not_named_param, is_convertible_to_named_param>::type IsNamedParam; - enum { value = IsNamedParam::template bind::value }; + enum { value = is_convertible::value }; }; struct choose_named_params {