Second try at getting noexcept on move and swap for deque. I changed std::alloctor to propagate_on_container_move_assignment so as to make deque<T> move assignment noexcept. What we really need is a compile-time switch that says an allocator always compares equal.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@132490 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/memory b/include/memory
index 3770099..67f9937 100644
--- a/include/memory
+++ b/include/memory
@@ -1591,6 +1591,8 @@
typedef const _Tp& const_reference;
typedef _Tp value_type;
+ typedef true_type propagate_on_container_move_assignment;
+
template <class _Up> struct rebind {typedef allocator<_Up> other;};
_LIBCPP_INLINE_VISIBILITY allocator() _NOEXCEPT {}