diff --git a/include/boost/core/pointer_traits.hpp b/include/boost/core/pointer_traits.hpp index 028b553..7c257f3 100644 --- a/include/boost/core/pointer_traits.hpp +++ b/include/boost/core/pointer_traits.hpp @@ -131,13 +131,13 @@ struct ptr_traits_difference { typedef std::ptrdiff_t type; }; -template +template struct ptr_traits_has_rebind { private: template static ptr_traits_none call(...); template - static char call(typename U::template rebind* = 0); + static char call(typename U::template rebind* = 0); public: BOOST_STATIC_CONSTEXPR bool value = sizeof(call(0)) == 1; }; @@ -169,7 +169,7 @@ struct ptr_traits_rebind_to, V> { #endif #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) -template::value> +template::value> struct ptr_traits_rebind { typedef typename T::template rebind type; };