aboutsummaryrefslogtreecommitdiff
path: root/gcc
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 /gcc
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 'gcc')
0 files changed, 0 insertions, 0 deletions