diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-12-12 20:40:15 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-12-16 14:05:10 +0000 |
commit | fdfd0640ab7eddb24486214361c672d1b6d8a068 (patch) | |
tree | dc1ef24a7bad04abc5b2b26bb360c4776bcf5488 /gcc/tree-inline.h | |
parent | fa8475b96579d16ae4e908b89104adcbcb9477b4 (diff) | |
download | gcc-fdfd0640ab7eddb24486214361c672d1b6d8a068.zip gcc-fdfd0640ab7eddb24486214361c672d1b6d8a068.tar.gz gcc-fdfd0640ab7eddb24486214361c672d1b6d8a068.tar.bz2 |
libstdc++: Use alias-declarations in bits/hashtable_policy,h
This file is only for C++11 and later, so replace typedefs with
alias-declarations for clarity. Also remove redundant std::
qualification on size_t, ptrdiff_t etc.
We can also remove the result_type, first_argument_type and
second_argument_type typedefs from the range hashers. We don't need
those types to follow the C++98 adaptable function object protocol.
libstdc++-v3/ChangeLog:
* include/bits/hashtable_policy.h: Replace typedefs with
alias-declarations. Remove redundant std:: qualification.
(_Mod_range_hashing, _Mask_range_hashing): Remove adaptable
function object typedefs.
Diffstat (limited to 'gcc/tree-inline.h')
0 files changed, 0 insertions, 0 deletions