diff --git a/include/boost/unordered/detail/implementation.hpp b/include/boost/unordered/detail/implementation.hpp index 2d5a3d09..b0b3a43c 100644 --- a/include/boost/unordered/detail/implementation.hpp +++ b/include/boost/unordered/detail/implementation.hpp @@ -2959,19 +2959,11 @@ namespace boost { return no_key(); } -#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) template static no_key extract(Arg1 const&, Arg2 const&, Args const&...) { return no_key(); } -#else - template - static no_key extract(Arg1 const&, Arg2 const&) - { - return no_key(); - } -#endif }; template struct map_extractor @@ -3030,14 +3022,12 @@ namespace boost { return no_key(); } -#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) template static no_key extract( Arg1 const&, Arg2 const&, Arg3 const&, Args const&...) { return no_key(); } -#endif #define BOOST_UNORDERED_KEY_FROM_TUPLE(namespace_) \ template \