summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/c_std
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-04 21:27:36 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-04 21:27:36 +0000
commite1e0016d0d1995123526b8a248d388c06644541b (patch)
treef9b7a5cf7ab77ab1aa83870039157784eb5398b3 /libstdc++-v3/include/c_std
parentb41d83cb0e696d0b8687c24362515f99a89e63cb (diff)
downloadgcc-e1e0016d0d1995123526b8a248d388c06644541b.tar.gz
2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (std_headers): Remove cXXX from list. (c_base_srcdir): No bits subdirectory. (c_base_builddir): Same. (c_base_headers): Adjust names, add ciso646. (bits_headers): Remove std_xxx.h headers. * include/Makefile.in: Regenerate. * include/ext/iterator: Adjust includes. * include/ext/ropeimpl.h: Same. * include/ext/stl_hash_fun.h: Same. * include/ext/algorithm: Same. * include/backward/bvector.h: Adjust includes. * include/backward/vector.h: Same. * include/backward/strstream: Same. * include/backward/streambuf.h: Same. * include/backward/stack.h: Same. * include/backward/set.h: Same. * include/backward/queue.h: Same. * include/backward/multiset.h: Same. * include/backward/multimap.h: Same. * include/backward/map.h: Same. * include/backward/list.h: Same. * include/backward/iterator.h: Same. * include/backward/iostream.h: Same. * include/backward/iomanip.h: Same. * include/backward/fstream.h: Same. * include/backward/deque.h: Same. * include/backward/complex.h: Same. * include/bits/std_algorithm.h: Move to... * include/std/algorithm: ...here. * include/bits/std_iosfwd.h, std_locale.h, std_stack.h, std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h, std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h, std_deque.h, std_istream.h, std_numeric.h, std_string.h, std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h, std_queue.h, std_valarray.h, std_functional.h, std_limits.h, std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h: Same. * include/c_std/bits/std_cassert.h: Move to... * include/c_std/cassert: Here. * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h, std_cwctype.h: Same. * include/c_std/cmath: Adjust cmath.tcc include. * include/c_std/cstdlib: Adjust includes. * include/c_std/cwchar: Same. * include/c_std/ctime: Same. * include/c_std/cstring: Same. * include/c_std/cstdio: Same. * include/c_std/bits: Remove directory. * include/c/bits/std_cassert.h: Move to... * include/c/cassert: Here. * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h, std_cwctype.h: Same. * include/c/bits: Remove directory. * include/std/cwctype: Remove. * include/std/cwchar: Remove. * include/std/ctime: Remove. * include/std/cstring: Remove. * include/std/cstdlib: Remove. * include/std/cstdio: Remove. * include/std/cstddef: Remove. * include/std/cstdarg: Remove. * include/std/csignal: Remove. * include/std/csetjmp: Remove. * include/std/cmath: Remove. * include/std/clocale: Remove. * include/std/climits: Remove. * include/std/ciso646: Remove. * include/std/cfloat: Remove. * include/std/cerrno: Remove. * include/std/cctype: Remove. * include/std/cassert: Remove. * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h> files and subsituting <.xxx> * include/bits/valarray_array.h: Same. * include/bits/stl_uninitialized.h: Same. * include/bits/stl_alloc.h: Same. * include/bits/stl_algobase.h: Same. * include/bits/sstream.tcc: Same. * include/bits/pthread_allocimpl.h: Same. * include/bits/ostream.tcc: Same. * include/bits/localefwd.h: Same. * include/bits/locale_facets.tcc: Same. * include/bits/locale_facets.h: Same. * include/bits/istream.tcc: Same. * include/bits/char_traits.h: Same. * include/bits/boost_concept_check.h: Same. * include/bits/basic_file.h: Same. * include/std/bitset: Same. * include/std/complex: Same. * include/std/fstream: Same. * include/std/functional: Same. * include/std/ios: Same. * include/std/iostream: Same. * include/std/ostream: Same. * include/std/sstream: Same. * include/std/streambuf: Same. * include/std/string: Same. * include/std/iterator: Same. * include/std/valarray: Same. * src/ios.cc: Adjust includes. * src/valarray-inst.cc: Same. * src/string-inst.cc: Same. * src/stl-inst.cc: Same. * src/stdexcept.cc: Same. * src/misc-inst.cc: Same. * src/localename.cc: Same. * src/locale-inst.cc: Same. * src/locale.cc: Same. * src/limits.cc: Same. * src/concept-inst.cc: Same. * src/complex_io.cc: Same. * src/codecvt.cc: Same. * src/bitset.cc: Same. * src/cmath.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48544 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/c_std')
-rw-r--r--libstdc++-v3/include/c_std/cassert (renamed from libstdc++-v3/include/c_std/bits/std_cassert.h)0
-rw-r--r--libstdc++-v3/include/c_std/cctype (renamed from libstdc++-v3/include/c_std/bits/std_cctype.h)0
-rw-r--r--libstdc++-v3/include/c_std/cerrno (renamed from libstdc++-v3/include/c_std/bits/std_cerrno.h)0
-rw-r--r--libstdc++-v3/include/c_std/cfloat (renamed from libstdc++-v3/include/c_std/bits/std_cfloat.h)0
-rw-r--r--libstdc++-v3/include/c_std/ciso64638
-rw-r--r--libstdc++-v3/include/c_std/climits (renamed from libstdc++-v3/include/c_std/bits/std_climits.h)0
-rw-r--r--libstdc++-v3/include/c_std/clocale (renamed from libstdc++-v3/include/c_std/bits/std_clocale.h)0
-rw-r--r--libstdc++-v3/include/c_std/cmath (renamed from libstdc++-v3/include/c_std/bits/std_cmath.h)2
-rw-r--r--libstdc++-v3/include/c_std/cmath.tcc (renamed from libstdc++-v3/include/c_std/bits/cmath.tcc)0
-rw-r--r--libstdc++-v3/include/c_std/csetjmp (renamed from libstdc++-v3/include/c_std/bits/std_csetjmp.h)0
-rw-r--r--libstdc++-v3/include/c_std/csignal (renamed from libstdc++-v3/include/c_std/bits/std_csignal.h)0
-rw-r--r--libstdc++-v3/include/c_std/cstdarg (renamed from libstdc++-v3/include/c_std/bits/std_cstdarg.h)0
-rw-r--r--libstdc++-v3/include/c_std/cstddef (renamed from libstdc++-v3/include/c_std/bits/std_cstddef.h)0
-rw-r--r--libstdc++-v3/include/c_std/cstdio (renamed from libstdc++-v3/include/c_std/bits/std_cstdio.h)2
-rw-r--r--libstdc++-v3/include/c_std/cstdlib (renamed from libstdc++-v3/include/c_std/bits/std_cstdlib.h)2
-rw-r--r--libstdc++-v3/include/c_std/cstring (renamed from libstdc++-v3/include/c_std/bits/std_cstring.h)2
-rw-r--r--libstdc++-v3/include/c_std/ctime (renamed from libstdc++-v3/include/c_std/bits/std_ctime.h)2
-rw-r--r--libstdc++-v3/include/c_std/cwchar (renamed from libstdc++-v3/include/c_std/bits/std_cwchar.h)4
-rw-r--r--libstdc++-v3/include/c_std/cwctype (renamed from libstdc++-v3/include/c_std/bits/std_cwctype.h)0
19 files changed, 45 insertions, 7 deletions
diff --git a/libstdc++-v3/include/c_std/bits/std_cassert.h b/libstdc++-v3/include/c_std/cassert
index b0e1f13f10a..b0e1f13f10a 100644
--- a/libstdc++-v3/include/c_std/bits/std_cassert.h
+++ b/libstdc++-v3/include/c_std/cassert
diff --git a/libstdc++-v3/include/c_std/bits/std_cctype.h b/libstdc++-v3/include/c_std/cctype
index 189f4f5384e..189f4f5384e 100644
--- a/libstdc++-v3/include/c_std/bits/std_cctype.h
+++ b/libstdc++-v3/include/c_std/cctype
diff --git a/libstdc++-v3/include/c_std/bits/std_cerrno.h b/libstdc++-v3/include/c_std/cerrno
index 7f1cdf66565..7f1cdf66565 100644
--- a/libstdc++-v3/include/c_std/bits/std_cerrno.h
+++ b/libstdc++-v3/include/c_std/cerrno
diff --git a/libstdc++-v3/include/c_std/bits/std_cfloat.h b/libstdc++-v3/include/c_std/cfloat
index 80f5ea5c4ab..80f5ea5c4ab 100644
--- a/libstdc++-v3/include/c_std/bits/std_cfloat.h
+++ b/libstdc++-v3/include/c_std/cfloat
diff --git a/libstdc++-v3/include/c_std/ciso646 b/libstdc++-v3/include/c_std/ciso646
new file mode 100644
index 00000000000..c9f49fb6fc3
--- /dev/null
+++ b/libstdc++-v3/include/c_std/ciso646
@@ -0,0 +1,38 @@
+// -*- C++ -*- std header.
+
+// Copyright (C) 2001 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
+// terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License along
+// with this library; see the file COPYING. If not, write to the Free
+// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+// USA.
+
+// As a special exception, you may use this file as part of a free software
+// library without restriction. Specifically, if other files instantiate
+// templates or use macros or inline functions from this file, or you compile
+// this file and link it with other files to produce an executable, this
+// file does not by itself cause the resulting executable to be covered by
+// the GNU General Public License. This exception does not however
+// invalidate any other reasons why the executable file might be covered by
+// the GNU General Public License.
+
+/** @file ciso646
+ * This is a Standard C++ Library file. You should @c #include this file
+ * in your programs, rather than any of the "st[dl]_*.h" implementation files.
+ *
+ * This is the C++ version of the Standard C Library header @c iso646.h,
+ * and its contents are (mostly) the same as that header, but are all
+ * contained in the namespace @c std.
+ */
+
diff --git a/libstdc++-v3/include/c_std/bits/std_climits.h b/libstdc++-v3/include/c_std/climits
index 48f6acf4d86..48f6acf4d86 100644
--- a/libstdc++-v3/include/c_std/bits/std_climits.h
+++ b/libstdc++-v3/include/c_std/climits
diff --git a/libstdc++-v3/include/c_std/bits/std_clocale.h b/libstdc++-v3/include/c_std/clocale
index 02eb8fcc90c..02eb8fcc90c 100644
--- a/libstdc++-v3/include/c_std/bits/std_clocale.h
+++ b/libstdc++-v3/include/c_std/clocale
diff --git a/libstdc++-v3/include/c_std/bits/std_cmath.h b/libstdc++-v3/include/c_std/cmath
index fedc5fb1a98..79644cec8fe 100644
--- a/libstdc++-v3/include/c_std/bits/std_cmath.h
+++ b/libstdc++-v3/include/c_std/cmath
@@ -647,7 +647,7 @@ namespace std
#ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
# define export
-# include <bits/cmath.tcc>
+# include <cmath.tcc>
#endif
#endif
diff --git a/libstdc++-v3/include/c_std/bits/cmath.tcc b/libstdc++-v3/include/c_std/cmath.tcc
index 9b86bbb9da6..9b86bbb9da6 100644
--- a/libstdc++-v3/include/c_std/bits/cmath.tcc
+++ b/libstdc++-v3/include/c_std/cmath.tcc
diff --git a/libstdc++-v3/include/c_std/bits/std_csetjmp.h b/libstdc++-v3/include/c_std/csetjmp
index 5db98e7b97e..5db98e7b97e 100644
--- a/libstdc++-v3/include/c_std/bits/std_csetjmp.h
+++ b/libstdc++-v3/include/c_std/csetjmp
diff --git a/libstdc++-v3/include/c_std/bits/std_csignal.h b/libstdc++-v3/include/c_std/csignal
index 818e7bbbc9c..818e7bbbc9c 100644
--- a/libstdc++-v3/include/c_std/bits/std_csignal.h
+++ b/libstdc++-v3/include/c_std/csignal
diff --git a/libstdc++-v3/include/c_std/bits/std_cstdarg.h b/libstdc++-v3/include/c_std/cstdarg
index 58faa3b9876..58faa3b9876 100644
--- a/libstdc++-v3/include/c_std/bits/std_cstdarg.h
+++ b/libstdc++-v3/include/c_std/cstdarg
diff --git a/libstdc++-v3/include/c_std/bits/std_cstddef.h b/libstdc++-v3/include/c_std/cstddef
index deb2db4448c..deb2db4448c 100644
--- a/libstdc++-v3/include/c_std/bits/std_cstddef.h
+++ b/libstdc++-v3/include/c_std/cstddef
diff --git a/libstdc++-v3/include/c_std/bits/std_cstdio.h b/libstdc++-v3/include/c_std/cstdio
index a4c67d22acd..a6c78d221d5 100644
--- a/libstdc++-v3/include/c_std/bits/std_cstdio.h
+++ b/libstdc++-v3/include/c_std/cstdio
@@ -35,7 +35,7 @@
#define _CPP_CSTDIO 1
#include <bits/c++config.h>
-#include <bits/std_cstddef.h>
+#include <cstddef>
#pragma GCC system_header
#include <stdio.h>
diff --git a/libstdc++-v3/include/c_std/bits/std_cstdlib.h b/libstdc++-v3/include/c_std/cstdlib
index b67ce44f937..73176dbedbb 100644
--- a/libstdc++-v3/include/c_std/bits/std_cstdlib.h
+++ b/libstdc++-v3/include/c_std/cstdlib
@@ -35,7 +35,7 @@
#define _CPP_CSTDLIB 1
#include <bits/c++config.h>
-#include <bits/std_cstddef.h>
+#include <cstddef>
#pragma GCC system_header
#include <stdlib.h>
diff --git a/libstdc++-v3/include/c_std/bits/std_cstring.h b/libstdc++-v3/include/c_std/cstring
index ab6a6a66c4d..9708c898990 100644
--- a/libstdc++-v3/include/c_std/bits/std_cstring.h
+++ b/libstdc++-v3/include/c_std/cstring
@@ -34,7 +34,7 @@
#ifndef _CPP_CSTRING
#define _CPP_CSTRING 1
-#include <bits/std_cstddef.h>
+#include <cstddef>
#pragma GCC system_header
#include <string.h>
diff --git a/libstdc++-v3/include/c_std/bits/std_ctime.h b/libstdc++-v3/include/c_std/ctime
index a9051b49735..c5c108b686f 100644
--- a/libstdc++-v3/include/c_std/bits/std_ctime.h
+++ b/libstdc++-v3/include/c_std/ctime
@@ -34,7 +34,7 @@
#ifndef _CPP_CTIME
#define _CPP_CTIME 1
-#include <bits/std_cstddef.h>
+#include <cstddef>
#pragma GCC system_header
#include <time.h>
diff --git a/libstdc++-v3/include/c_std/bits/std_cwchar.h b/libstdc++-v3/include/c_std/cwchar
index b19cfeaadc2..8e69d518509 100644
--- a/libstdc++-v3/include/c_std/bits/std_cwchar.h
+++ b/libstdc++-v3/include/c_std/cwchar
@@ -35,8 +35,8 @@
#define _CPP_CWCHAR 1
#include <bits/c++config.h>
-#include <bits/std_cstddef.h>
-#include <bits/std_ctime.h>
+#include <cstddef>
+#include <ctime>
#if _GLIBCPP_HAVE_WCHAR_H
#pragma GCC system_header
diff --git a/libstdc++-v3/include/c_std/bits/std_cwctype.h b/libstdc++-v3/include/c_std/cwctype
index 39ae0767663..39ae0767663 100644
--- a/libstdc++-v3/include/c_std/bits/std_cwctype.h
+++ b/libstdc++-v3/include/c_std/cwctype