diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-12-05 15:12:59 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-12-05 15:12:59 +0900 |
commit | b8cf34c691623e4ec329053cbbf68522a855882d (patch) | |
tree | 34da08632a99677f6b79ecb65e5b655a5b69a67f /boost/container/detail/allocator_version_traits.hpp | |
parent | 3fdc3e5ee96dca5b11d1694975a65200787eab86 (diff) | |
download | boost-upstream/1.67.0.tar.gz boost-upstream/1.67.0.tar.bz2 boost-upstream/1.67.0.zip |
Imported Upstream version 1.67.0upstream/1.67.0
Diffstat (limited to 'boost/container/detail/allocator_version_traits.hpp')
-rw-r--r-- | boost/container/detail/allocator_version_traits.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/boost/container/detail/allocator_version_traits.hpp b/boost/container/detail/allocator_version_traits.hpp index 62492da091..18460bdf08 100644 --- a/boost/container/detail/allocator_version_traits.hpp +++ b/boost/container/detail/allocator_version_traits.hpp @@ -33,12 +33,12 @@ namespace boost { namespace container { -namespace container_detail { +namespace dtl { -template<class Allocator, unsigned Version = boost::container::container_detail::version<Allocator>::value> +template<class Allocator, unsigned Version = boost::container::dtl::version<Allocator>::value> struct allocator_version_traits { - typedef ::boost::container::container_detail::integral_constant + typedef ::boost::container::dtl::integral_constant <unsigned, Version> alloc_version; typedef typename Allocator::multiallocation_chain multiallocation_chain; @@ -67,7 +67,7 @@ struct allocator_version_traits template<class Allocator> struct allocator_version_traits<Allocator, 1> { - typedef ::boost::container::container_detail::integral_constant + typedef ::boost::container::dtl::integral_constant <unsigned, 1> alloc_version; typedef typename boost::container::allocator_traits<Allocator>::pointer pointer; @@ -76,9 +76,9 @@ struct allocator_version_traits<Allocator, 1> typedef typename boost::intrusive::pointer_traits<pointer>:: template rebind_pointer<void>::type void_ptr; - typedef container_detail::basic_multiallocation_chain + typedef dtl::basic_multiallocation_chain <void_ptr> multialloc_cached_counted; - typedef boost::container::container_detail:: + typedef boost::container::dtl:: transform_multiallocation_chain < multialloc_cached_counted, value_type> multiallocation_chain; @@ -153,7 +153,7 @@ struct allocator_version_traits<Allocator, 1> } }; -} //namespace container_detail { +} //namespace dtl { } //namespace container { } //namespace boost { |