Fixes for LWG 2598, 2686, 2739, 2742, 2747, and 2759, which were adopted last week in Issaquah

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@286858 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/memory b/include/memory
index 69068f3..daa1740 100644
--- a/include/memory
+++ b/include/memory
@@ -164,6 +164,7 @@
 template <class T> void               return_temporary_buffer(T* p) noexcept;
 
 template <class T> T* addressof(T& r) noexcept;
+template <class T> T* addressof(const T&& r) noexcept = delete;
 
 template <class InputIterator, class ForwardIterator>
 ForwardIterator
@@ -675,7 +676,7 @@
 #endif
 }
 
-// addressof moved to <__functional_base>
+// addressof moved to <type_traits>
 
 template <class _Tp> class allocator;