diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-05-24 12:17:01 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-05-26 10:44:45 +0100 |
commit | 692643c3ed3b7b82dde6b890c76b611c3ea371f0 (patch) | |
tree | ede86ab23bff44ec1cdc6d35ee48a3bdae1d7a1a /gcc | |
parent | 650eadd63022baf6993124d7e9b64141b908459a (diff) | |
download | gcc-692643c3ed3b7b82dde6b890c76b611c3ea371f0.zip gcc-692643c3ed3b7b82dde6b890c76b611c3ea371f0.tar.gz gcc-692643c3ed3b7b82dde6b890c76b611c3ea371f0.tar.bz2 |
libstdc++: Refactor includes for unordered containers
This moves some #include directives to the relevant place. For example,
<bits/hashtable_policy.h> needs <bits/stl_pair.h> so should include it
directly instead of relying on <unordered_map> and <unordered_set> to do
so first.
libstdc++-v3/ChangeLog:
* include/bits/functional_hash.h (__is_fast_hash): Add doxygen
comment.
* include/bits/hashtable.h: Do not include <bits/stl_function.h>
here.
* include/bits/hashtable_policy.h: Include <bits/stl_pair.h> and
<bits/functional_hash.h>.
* include/bits/unordered_map.h: Include required headers.
* include/bits/unordered_set.h: Likewise.
* include/std/unordered_map: Do not include headers for indirect
dependencies.
* include/std/unordered_set: Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions