summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/std/unordered_set
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-16 09:20:34 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-16 09:20:34 +0000
commit17ae7f11546e1ce8bec4e4ec71ccb59891ad19cc (patch)
tree09d17ad81858e565dc037a69cf4b591e41101256 /libstdc++-v3/include/std/unordered_set
parent31fd081da3d7a8b1184013bf5f9ad06e1ee02462 (diff)
downloadppe42-gcc-17ae7f11546e1ce8bec4e4ec71ccb59891ad19cc.tar.gz
ppe42-gcc-17ae7f11546e1ce8bec4e4ec71ccb59891ad19cc.zip
PR libstdc++/55043
* include/std/unordered_map: Include alloc_traits.h * include/std/unordered_set: Likewise. * include/bits/alloc_traits.h: Define __is_copy_insertable. * include/bits/unordered_map.h: Use it. * include/bits/unordered_set.h: Likewise. * include/debug/unordered_map.h: Likewise. * include/debug/unordered_set.h: Likewise. * include/profile/unordered_map.h: Likewise. * include/profile/unordered_set.h: Likewise. * include/bits/hashtable.h: Fix comment typos. * testsuite/23_containers/unordered_map/55043.cc: New. * testsuite/23_containers/unordered_multimap/55043.cc: New. * testsuite/23_containers/unordered_multiset/55043.cc: New. * testsuite/23_containers/unordered_set/55043.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195231 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std/unordered_set')
-rw-r--r--libstdc++-v3/include/std/unordered_set3
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/include/std/unordered_set b/libstdc++-v3/include/std/unordered_set
index af6f624ef8b..cfe91ad3d91 100644
--- a/libstdc++-v3/include/std/unordered_set
+++ b/libstdc++-v3/include/std/unordered_set
@@ -1,6 +1,6 @@
// <unordered_set> -*- C++ -*-
-// Copyright (C) 2007, 2008, 2009, 2010, 2012 Free Software Foundation, Inc.
+// Copyright (C) 2007-2013 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -41,6 +41,7 @@
#include <tuple>
#include <bits/stl_algobase.h>
#include <bits/allocator.h>
+#include <bits/alloc_traits.h>
#include <bits/stl_function.h> // equal_to, _Identity, _Select1st
#include <bits/functional_hash.h>
#include <bits/hashtable.h>
OpenPOWER on IntegriCloud