diff options
Diffstat (limited to 'boost/container/detail/version_type.hpp')
-rw-r--r-- | boost/container/detail/version_type.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/boost/container/detail/version_type.hpp b/boost/container/detail/version_type.hpp index a20b3eedaa..c2531ccc31 100644 --- a/boost/container/detail/version_type.hpp +++ b/boost/container/detail/version_type.hpp @@ -32,11 +32,11 @@ namespace boost{ namespace container { -namespace container_detail { +namespace dtl { template <class T, unsigned V> struct version_type - : public container_detail::integral_constant<unsigned, V> + : public dtl::integral_constant<unsigned, V> { typedef T type; @@ -46,7 +46,7 @@ struct version_type namespace impl{ template <class T, - bool = container_detail::is_convertible<version_type<T, 0>, typename T::version>::value> + bool = dtl::is_convertible<version_type<T, 0>, typename T::version>::value> struct extract_version { static const unsigned value = 1; @@ -86,7 +86,7 @@ struct version<T, true> template <class T> struct version - : public container_detail::integral_constant<unsigned, impl::version<T>::value> + : public dtl::integral_constant<unsigned, impl::version<T>::value> {}; template<class T, unsigned N> @@ -96,11 +96,11 @@ struct is_version is_same< typename version<T>::type, integral_constant<unsigned, N> >::value; }; -} //namespace container_detail { +} //namespace dtl { -typedef container_detail::integral_constant<unsigned, 0> version_0; -typedef container_detail::integral_constant<unsigned, 1> version_1; -typedef container_detail::integral_constant<unsigned, 2> version_2; +typedef dtl::integral_constant<unsigned, 0> version_0; +typedef dtl::integral_constant<unsigned, 1> version_1; +typedef dtl::integral_constant<unsigned, 2> version_2; } //namespace container { } //namespace boost{ |