aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/ChangeLog
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2017-09-20 17:34:42 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2017-09-20 17:34:42 +0100
commitf78958c9b421bba1f24d04ec47cfa3d999214b32 (patch)
treefcf362ffffff7cacb075e905ab7d59f11241fb65 /libstdc++-v3/ChangeLog
parent7ba0b15a7e552a6458a54b460752fd19f423170d (diff)
downloadgcc-f78958c9b421bba1f24d04ec47cfa3d999214b32.zip
gcc-f78958c9b421bba1f24d04ec47cfa3d999214b32.tar.gz
gcc-f78958c9b421bba1f24d04ec47cfa3d999214b32.tar.bz2
Deprecate nested types in std::hash
* include/bits/c++config (_GLIBCXX17_DEPRECATED): Define. * include/bits/functional_hash.h (__hash_base::result_type) (__hash_base::argument_type): Add _GLIBCXX17_DEPRECATED. * include/std/optional (hash<optional<T>>::result_type) (hash<optional<T>>::argument_type): Add deprecated attribute. (__is_fast_hash<hash<optional<T>>>): Add partial specialization. * include/std/variant (hash<variant<Types...>>::result_type) (hash<variant<Types...>>::argument_type): Add deprecated attribute. (__is_fast_hash<hash<variant<Types...>>>): Add partial specialization. From-SVN: r253017
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r--libstdc++-v3/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 5a2c960..023e7ae 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,15 @@
2017-09-20 Jonathan Wakely <jwakely@redhat.com>
+ * include/bits/c++config (_GLIBCXX17_DEPRECATED): Define.
+ * include/bits/functional_hash.h (__hash_base::result_type)
+ (__hash_base::argument_type): Add _GLIBCXX17_DEPRECATED.
+ * include/std/optional (hash<optional<T>>::result_type)
+ (hash<optional<T>>::argument_type): Add deprecated attribute.
+ (__is_fast_hash<hash<optional<T>>>): Add partial specialization.
+ * include/std/variant (hash<variant<Types...>>::result_type)
+ (hash<variant<Types...>>::argument_type): Add deprecated attribute.
+ (__is_fast_hash<hash<variant<Types...>>>): Add partial specialization.
+
* libsupc++/exception_ptr.h (copy_exception): Remove deprecated
non-standard function.