summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/bits/char_traits.h
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-03 10:29:14 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-03 10:29:14 +0000
commit4a5f206f4c827402690d91341a9e857f8e78332f (patch)
tree9c11143e43b585952f5dbea6270fee64275a31e4 /libstdc++-v3/include/bits/char_traits.h
parent0db5de9587f47a14d3e543e9825005043ac0f1ac (diff)
downloadppe42-gcc-4a5f206f4c827402690d91341a9e857f8e78332f.tar.gz
ppe42-gcc-4a5f206f4c827402690d91341a9e857f8e78332f.zip
2007-03-03 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/28080 (partial) * include/bits/stl_algobase.h: Do not include <iosfwd>, <bits/functexcept.h> is enough; adjust __copy_aux declarations; remove declaration of copy overload for istreambuf_iterator / ostreambuf_iterator. * src/debug.cc: Include <cstdio>. * include/ext/rope: Include <iosfwd>. * include/bits/char_traits.h: Include <cstdio> and <cwchar>. * include/bits/stl_algo.h: Remove declaration of find overload for istreambuf_iterator. * include/std/queue: Clean up includes. * include/std/stack: Likewise. * include/std/memory: Likewise. * include/std/algorithm: Likewise. * include/std/vector: Likewise. * include/std/deque: Likewise. * include/std/list: Likewise. * include/bits/stl_tree.h: Likewise. * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Adjust dg-error markers. * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise. * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise. * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise. * testsuite/23_containers/set/operators/1_neg.cc: Likewise. * testsuite/23_containers/map/operators/1_neg.cc: Likewise. * testsuite/20_util/auto_ptr/assign_neg.cc: Likewise. * include/ext/type_traits.h: Fix type of __max_digits10; clean up includes. * testsuite/util/testsuite_hooks.h: Do not include <cstddef>. * testsuite/util/testsuite_hooks.cc: Do it here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122502 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits/char_traits.h')
-rw-r--r--libstdc++-v3/include/bits/char_traits.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/libstdc++-v3/include/bits/char_traits.h b/libstdc++-v3/include/bits/char_traits.h
index 58cddf6ec5b..03d744c643a 100644
--- a/libstdc++-v3/include/bits/char_traits.h
+++ b/libstdc++-v3/include/bits/char_traits.h
@@ -1,6 +1,7 @@
// Character Traits for use by standard string and iostream -*- C++ -*-
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
+// 2006, 2007
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@@ -42,9 +43,11 @@
#pragma GCC system_header
-#include <cstring> // For memmove, memset, memchr
-#include <bits/stl_algobase.h>// For copy, lexicographical_compare, fill_n
-#include <bits/postypes.h> // For streampos
+#include <cstring> // For memmove, memset, memchr
+#include <bits/stl_algobase.h> // For copy, fill_n
+#include <bits/postypes.h> // For streampos
+#include <cstdio> // For EOF
+#include <cwchar> // For WEOF, wmemmove, wmemset, etc.
_GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
OpenPOWER on IntegriCloud