diff --git a/include/boost/python/detail/indirect_traits.hpp b/include/boost/python/detail/indirect_traits.hpp index f22c270b..faabecc2 100644 --- a/include/boost/python/detail/indirect_traits.hpp +++ b/include/boost/python/detail/indirect_traits.hpp @@ -75,24 +75,7 @@ struct is_pointer_to_function template struct is_pointer_to_function { - BOOST_STATIC_CONSTANT(bool, value = is_function::value); -}; - -template -struct is_pointer_to_function -{ - BOOST_STATIC_CONSTANT(bool, value = is_function::value); -}; - -template -struct is_pointer_to_function -{ - BOOST_STATIC_CONSTANT(bool, value = is_function::value); -}; - -template -struct is_pointer_to_function -{ + // There's no such thing as a pointer-to-cv-function, so we don't need specializations for those BOOST_STATIC_CONSTANT(bool, value = is_function::value); };