diff --git a/include/boost/container/detail/version_type.hpp b/include/boost/container/detail/version_type.hpp index c2531cc..58e9da6 100644 --- a/include/boost/container/detail/version_type.hpp +++ b/include/boost/container/detail/version_type.hpp @@ -39,24 +39,14 @@ struct version_type : public dtl::integral_constant { typedef T type; - - version_type(const version_type&); }; namespace impl{ -template , typename T::version>::value> -struct extract_version -{ - static const unsigned value = 1; -}; - template -struct extract_version -{ - static const unsigned value = T::version::value; -}; +struct extract_version + : T::version +{}; template struct has_version