From f78958c9b421bba1f24d04ec47cfa3d999214b32 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 20 Sep 2017 17:34:42 +0100 Subject: 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>::result_type) (hash>::argument_type): Add deprecated attribute. (__is_fast_hash>>): Add partial specialization. * include/std/variant (hash>::result_type) (hash>::argument_type): Add deprecated attribute. (__is_fast_hash>>): Add partial specialization. From-SVN: r253017 --- libstdc++-v3/ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libstdc++-v3/ChangeLog') 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 + * 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>::result_type) + (hash>::argument_type): Add deprecated attribute. + (__is_fast_hash>>): Add partial specialization. + * include/std/variant (hash>::result_type) + (hash>::argument_type): Add deprecated attribute. + (__is_fast_hash>>): Add partial specialization. + * libsupc++/exception_ptr.h (copy_exception): Remove deprecated non-standard function. -- cgit v1.1