From 18ad354dcf7c3e397775b174a50892ed15cdf2d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Sun, 18 Jan 2015 13:10:11 +0100 Subject: [PATCH] New allocator defines is_always_equal as true --- include/boost/container/new_allocator.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/container/new_allocator.hpp b/include/boost/container/new_allocator.hpp index 33ffcdb..54980d1 100644 --- a/include/boost/container/new_allocator.hpp +++ b/include/boost/container/new_allocator.hpp @@ -40,6 +40,7 @@ class new_allocator typedef void * pointer; typedef const void* const_pointer; typedef new_allocator_bool propagate_on_container_move_assignment; + typedef new_allocator_bool is_always_equal; // reference-to-void members are impossible //!Obtains an new_allocator that allocates @@ -96,6 +97,7 @@ class new_allocator typedef std::size_t size_type; typedef std::ptrdiff_t difference_type; typedef new_allocator_bool propagate_on_container_move_assignment; + typedef new_allocator_bool is_always_equal; //!Obtains an new_allocator that allocates //!objects of type T2