summaryrefslogtreecommitdiff
path: root/include/memory
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2015-07-01 21:23:40 +0000
committerMarshall Clow <mclow.lists@gmail.com>2015-07-01 21:23:40 +0000
commitb81d6f5b8d1675887d440a04ef2b0de9157de7cb (patch)
tree0994a2f6b12f13f10f5ddb0a4474c5b5475fec1c /include/memory
parent5a426e50d050e05127a2fa2f6643982943c19efc (diff)
Noticed that std::allocator<const T> was missing the definition for is_always_equal. Fixed this, and added a test for it.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@241190 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/memory')
-rw-r--r--include/memory1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/memory b/include/memory
index 69702c619..26ba5642c 100644
--- a/include/memory
+++ b/include/memory
@@ -1787,6 +1787,7 @@ public:
typedef const _Tp value_type;
typedef true_type propagate_on_container_move_assignment;
+ typedef true_type is_always_equal;
template <class _Up> struct rebind {typedef allocator<_Up> other;};