Skip to content
Snippets Groups Projects
Unverified Commit fdfd0640 authored by Jonathan Wakely's avatar Jonathan Wakely Committed by Jonathan Wakely
Browse files

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.
parent fa8475b9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment