Commit 02a2c630 by Jonathan Wakely Committed by Jonathan Wakely

Minor header reorganization for unordered containers

	* include/bits/hashtable_policy.h: Include <tuple>.
	* include/std/unordered_map: Only include <bits/stl_pair.h> instead
	of <utility> and <tuple>.
	* include/std/unordered_set: Likewise.

From-SVN: r254223
parent ccbbf8df
2017-10-30 Jonathan Wakely <jwakely@redhat.com>
* include/bits/hashtable_policy.h: Include <tuple>.
* include/std/unordered_map: Only include <bits/stl_pair.h> instead
of <utility> and <tuple>.
* include/std/unordered_set: Likewise.
2017-10-30 Ville Voutilainen <ville.voutilainen@gmail.com>
Implement LWG 2485
......
......@@ -31,7 +31,9 @@
#ifndef _HASHTABLE_POLICY_H
#define _HASHTABLE_POLICY_H 1
#include <bits/stl_algobase.h> // for std::min.
#include <tuple> // for std::tuple, std::forward_as_tuple
#include <cstdint> // for std::uint_fast64_t
#include <bits/stl_algobase.h> // for std::min.
namespace std _GLIBCXX_VISIBILITY(default)
{
......
......@@ -35,13 +35,12 @@
# include <bits/c++0x_warning.h>
#else
#include <utility>
#include <type_traits>
#include <initializer_list>
#include <tuple>
#include <bits/allocator.h>
#include <ext/alloc_traits.h>
#include <ext/aligned_buffer.h>
#include <bits/stl_pair.h>
#include <bits/stl_function.h> // equal_to, _Identity, _Select1st
#include <bits/functional_hash.h>
#include <bits/hashtable.h>
......
......@@ -35,13 +35,12 @@
# include <bits/c++0x_warning.h>
#else
#include <utility>
#include <type_traits>
#include <initializer_list>
#include <tuple>
#include <bits/allocator.h>
#include <ext/alloc_traits.h>
#include <ext/aligned_buffer.h>
#include <bits/stl_pair.h>
#include <bits/stl_function.h> // equal_to, _Identity, _Select1st
#include <bits/functional_hash.h>
#include <bits/hashtable.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment