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;
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;
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>
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{