forked from boostorg/container
Use namespace dtl instead of container_detail to avoid excessively long symbol names.
This commit is contained in:
@@ -27,7 +27,7 @@ class SimpleAllocator
|
||||
bool allocate_called_;
|
||||
bool deallocate_called_;
|
||||
|
||||
typedef boost::container::container_detail::
|
||||
typedef boost::container::dtl::
|
||||
true_type is_always_equal;
|
||||
|
||||
typedef T value_type;
|
||||
@@ -106,20 +106,20 @@ class ComplexAllocator
|
||||
typedef SimpleSmartPtr<T> pointer;
|
||||
typedef SimpleSmartPtr<const T> const_pointer;
|
||||
typedef typename ::boost::container::
|
||||
container_detail::unvoid_ref<T>::type reference;
|
||||
dtl::unvoid_ref<T>::type reference;
|
||||
typedef typename ::boost::container::
|
||||
container_detail::unvoid_ref<const T>::type const_reference;
|
||||
dtl::unvoid_ref<const T>::type const_reference;
|
||||
typedef SimpleSmartPtr<void> void_pointer;
|
||||
typedef SimpleSmartPtr<const void> const_void_pointer;
|
||||
typedef signed short difference_type;
|
||||
typedef unsigned short size_type;
|
||||
typedef boost::container::container_detail::
|
||||
typedef boost::container::dtl::
|
||||
true_type propagate_on_container_copy_assignment;
|
||||
typedef boost::container::container_detail::
|
||||
typedef boost::container::dtl::
|
||||
true_type propagate_on_container_move_assignment;
|
||||
typedef boost::container::container_detail::
|
||||
typedef boost::container::dtl::
|
||||
true_type propagate_on_container_swap;
|
||||
typedef boost::container::container_detail::
|
||||
typedef boost::container::dtl::
|
||||
true_type is_partially_propagable;
|
||||
|
||||
ComplexAllocator()
|
||||
@@ -247,7 +247,7 @@ void test_void_allocator()
|
||||
|
||||
int main()
|
||||
{
|
||||
using namespace boost::container::container_detail;
|
||||
using namespace boost::container::dtl;
|
||||
test_void_allocator();
|
||||
|
||||
//SimpleAllocator
|
||||
|
||||
Reference in New Issue
Block a user