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
This commit is contained in:
Marshall Clow
2015-07-01 21:23:40 +00:00
parent 5a426e50d0
commit b81d6f5b8d
3 changed files with 10 additions and 0 deletions

View File

@@ -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;};