diff options
| author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-12-24 14:32:21 +0000 |
|---|---|---|
| committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-12-24 14:32:21 +0000 |
| commit | 1e939a2b52c97be79dd3ea4fdadb2ff8cdca0042 (patch) | |
| tree | c5ede4b98170a2831fb15e797760ac3107d73366 /libstdc++-v3/include/std/unordered_map | |
| parent | 41819b5f8f2df6a3a1d2d07b379aeda026484670 (diff) | |
| download | ppe42-gcc-1e939a2b52c97be79dd3ea4fdadb2ff8cdca0042.tar.gz ppe42-gcc-1e939a2b52c97be79dd3ea4fdadb2ff8cdca0042.zip | |
2007-12-24 Paolo Carlini <pcarlini@suse.de>
* include/tr1_impl/hashtable_policy.h (_Prime_rehash_policy::
_M_next_bkt, _M_bkt_for_elements, _M_need_rehash): Use __builtin_ceil.
* include/std/unordered_map: Do not include <cmath>; prefer
<bits/stringfwd.h> to <string>.
* include/std/unordered_set: Likewise.
* include/tr1/unordered_map: Likewise.
* include/tr1/unordered_set: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131157 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std/unordered_map')
| -rw-r--r-- | libstdc++-v3/include/std/unordered_map | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libstdc++-v3/include/std/unordered_map b/libstdc++-v3/include/std/unordered_map index 226fea8b106..4ce80514d68 100644 --- a/libstdc++-v3/include/std/unordered_map +++ b/libstdc++-v3/include/std/unordered_map @@ -44,13 +44,12 @@ # error C++0x header cannot be included from TR1 header #endif -#include <cmath> -#include <string> #include <utility> #include <algorithm> // lower_bound +#include <type_traits> #include <bits/allocator.h> #include <bits/stl_function.h> // equal_to, _Identity, _Select1st -#include <type_traits> +#include <bits/stringfwd.h> #include <bits/functional_hash.h> #include <bits/hashtable.h> |

