diff --git a/include/boost/unordered/detail/allocator_helpers.hpp b/include/boost/unordered/detail/allocator_helpers.hpp index 1916e1ac..d77aa6a1 100644 --- a/include/boost/unordered/detail/allocator_helpers.hpp +++ b/include/boost/unordered/detail/allocator_helpers.hpp @@ -459,10 +459,6 @@ namespace boost { namespace unordered { namespace detail { new ((void*) p) T(x); } -# endif - -# if BOOST_UNORDERED_DETAIL_FULL_CONSTRUCT - template static typename boost::enable_if_c< boost::unordered::detail::has_destroy::value>::type @@ -481,8 +477,9 @@ namespace boost { namespace unordered { namespace detail { # else - // If we don't have SFINAE expressions, only call construct the type - // that matches the allocator. + // If we don't have SFINAE expressions, only call construct for the + // copy constructor for the allocator's value_type - as that's + // the only construct method that old fashioned allocators support. template static typename boost::enable_if_c<