aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@gcc.gnu.org>2008-04-10 19:02:57 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2008-04-10 19:02:57 +0000
commit4514bed67d02fb39eeab73eb029e3860a21b3d3a (patch)
tree60785879e7a8d9f4cbddab4133e85c5e43e3305b
parent5fb79e4c29afffae11b32f374ee8b120264305e9 (diff)
downloadgcc-4514bed67d02fb39eeab73eb029e3860a21b3d3a.zip
gcc-4514bed67d02fb39eeab73eb029e3860a21b3d3a.tar.gz
gcc-4514bed67d02fb39eeab73eb029e3860a21b3d3a.tar.bz2
tuple: Consistency check for include guard, doxygen file markup.
2008-04-10 Benjamin Kosnik <bkoz@redhat.com> * include/std/tuple: Consistency check for include guard, doxygen file markup. * include/std/date_time: Same. * include/std/type_traits: Same. * include/std/regex: Same. * include/std/array: Same. * include/std/system_error: Same, add error_code ctor. From-SVN: r134171
-rw-r--r--libstdc++-v3/ChangeLog49
-rw-r--r--libstdc++-v3/include/std/array6
-rw-r--r--libstdc++-v3/include/std/date_time2
-rw-r--r--libstdc++-v3/include/std/regex6
-rw-r--r--libstdc++-v3/include/std/system_error7
-rw-r--r--libstdc++-v3/include/std/tuple6
-rw-r--r--libstdc++-v3/include/std/type_traits8
7 files changed, 45 insertions, 39 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index e452aaa..27bf89d 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,28 +1,31 @@
+2008-04-10 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/std/tuple: Consistency check for include guard, doxygen
+ file markup.
+ * include/std/date_time: Same.
+ * include/std/type_traits: Same.
+ * include/std/regex: Same.
+ * include/std/array: Same.
+ * include/std/system_error: Same, add error_code ctor.
+
2008-04-07 Johannes Singler <singler@ira.uka.de>
- * include/parallel/multiway_merge.h:
- Moved decisions to compiletime instead of runtime.
- * include/parallel/losertree.h:
- Removed obsolete variants, added variant that uses pointers
- in the loser tree.
- * include/parallel/types.h:
- Remove obsolete settings options from enum.
- * include/parallel/features.h:
- Remove obsolete compile-time switches.
- * include/parallel/compiletime_settings.h:
- Remove obsolete variant that copies back *after* sorting.
- * include/parallel/tags.h:
- Add one new tag for compile-time switch.
- * include/parallel/merge.h:
- Adapt to changes in multiway_merge.h.
- * include/parallel/multiway_mergesort.h:
- Adapt to changes in multiway_merge.h.
- Factor out splitting variants.
- Remove obsolete variant that copies back *after* sorting.
- * include/parallel/sort.h:
- Adapt to changes in multiway_mergesort.h.
- * testsuite/25_algorithms/sort/35588.cc:
- Added test case from / for PR 35588.
+ * include/parallel/multiway_merge.h: Moved decisions to
+ compile-time instead of run-time.
+ * include/parallel/losertree.h: Removed obsolete variants, added
+ variant that uses pointers in the loser tree.
+ * include/parallel/types.h: Remove obsolete settings options from enum.
+ * include/parallel/features.h: Remove obsolete compile-time switches.
+ * include/parallel/compiletime_settings.h: Remove obsolete variant
+ that copies back *after* sorting.
+ * include/parallel/tags.h: Add one new tag for compile-time switch.
+ * include/parallel/merge.h: Adapt to changes in multiway_merge.h.
+ * include/parallel/multiway_mergesort.h: Adapt to changes in
+ multiway_merge.h. Factor out splitting variants. Remove obsolete
+ variant that copies back *after* sorting.
+ * include/parallel/sort.h: Adapt to changes in multiway_mergesort.h.
+ * testsuite/25_algorithms/sort/35588.cc: Added test case from /
+ for PR 35588.
2008-03-29 Paolo Carlini <pcarlini@suse.de>
diff --git a/libstdc++-v3/include/std/array b/libstdc++-v3/include/std/array
index 691f41c..c84ddb6 100644
--- a/libstdc++-v3/include/std/array
+++ b/libstdc++-v3/include/std/array
@@ -31,8 +31,8 @@
* This is a Standard C++ Library header.
*/
-#ifndef _GLIBCXX_CXX0X_ARRAY
-#define _GLIBCXX_CXX0X_ARRAY 1
+#ifndef _GLIBCXX_ARRAY
+#define _GLIBCXX_ARRAY 1
#pragma GCC system_header
@@ -60,4 +60,4 @@
# undef _GLIBCXX_INCLUDE_AS_CXX0X
#endif
-#endif // _GLIBCXX_CXX0X_ARRAY
+#endif // _GLIBCXX_ARRAY
diff --git a/libstdc++-v3/include/std/date_time b/libstdc++-v3/include/std/date_time
index b956a9b..0aca6b3 100644
--- a/libstdc++-v3/include/std/date_time
+++ b/libstdc++-v3/include/std/date_time
@@ -27,7 +27,7 @@
// invalidate any other reasons why the executable file might be covered by
// the GNU General Public License.
-/** @file include/date_time
+/** @file date_time
* This is a Standard C++ Library header.
*/
diff --git a/libstdc++-v3/include/std/regex b/libstdc++-v3/include/std/regex
index 5c25718..9014fba 100644
--- a/libstdc++-v3/include/std/regex
+++ b/libstdc++-v3/include/std/regex
@@ -31,8 +31,8 @@
* This is a Standard C++ Library header.
*/
-#ifndef _GLIBCXX_CXX0X_REGEX
-#define _GLIBCXX_CXX0X_REGEX 1
+#ifndef _GLIBCXX_REGEX
+#define _GLIBCXX_REGEX 1
#pragma GCC system_header
@@ -67,4 +67,4 @@
# undef _GLIBCXX_INCLUDE_AS_CXX0X
#endif
-#endif // _GLIBCXX_CXX0X_REGEX
+#endif // _GLIBCXX_REGEX
diff --git a/libstdc++-v3/include/std/system_error b/libstdc++-v3/include/std/system_error
index c8973d1..5081e3f 100644
--- a/libstdc++-v3/include/std/system_error
+++ b/libstdc++-v3/include/std/system_error
@@ -1,6 +1,6 @@
// <system_error> -*- C++ -*-
-// Copyright (C) 2007 Free Software Foundation, Inc.
+// Copyright (C) 2007, 2008 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
@@ -27,7 +27,7 @@
// invalidate any other reasons why the executable file might be covered by
// the GNU General Public License.
-/** @file include/system_error
+/** @file system_error
* This is a Standard C++ Library header.
*/
@@ -142,6 +142,9 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
error_code _M_code;
public:
+ system_error(error_code __ec = error_code())
+ : runtime_error(""), _M_code(__ec) { }
+
system_error(const string& __what, error_code __ec = error_code())
: runtime_error(__what), _M_code(__ec) { }
diff --git a/libstdc++-v3/include/std/tuple b/libstdc++-v3/include/std/tuple
index 3dda530..38a6bbb 100644
--- a/libstdc++-v3/include/std/tuple
+++ b/libstdc++-v3/include/std/tuple
@@ -31,8 +31,8 @@
* This is a Standard C++ Library header.
*/
-#ifndef _GLIBCXX_CXX0X_TUPLE
-#define _GLIBCXX_CXX0X_TUPLE 1
+#ifndef _GLIBCXX_TUPLE
+#define _GLIBCXX_TUPLE 1
#pragma GCC system_header
@@ -644,4 +644,4 @@ namespace std
}; // anonymous namespace
}
-#endif // _GLIBCXX_CXX0X_TUPLE
+#endif // _GLIBCXX_TUPLE
diff --git a/libstdc++-v3/include/std/type_traits b/libstdc++-v3/include/std/type_traits
index 1f9a2d9..66650f5 100644
--- a/libstdc++-v3/include/std/type_traits
+++ b/libstdc++-v3/include/std/type_traits
@@ -31,12 +31,12 @@
* This is a Standard C++ Library header.
*/
-#ifndef _GLIBCXX_CXX0X_TYPE_TRAITS
-#define _GLIBCXX_CXX0X_TYPE_TRAITS 1
+#ifndef _GLIBCXX_TYPE_TRAITS
+#define _GLIBCXX_TYPE_TRAITS 1
#pragma GCC system_header
-#ifndef __GXX_EXPERIMENTAL_CXX0X__
+#ifndef __GXX_EXPERIMENTAL__
# include <c++0x_warning.h>
#endif
@@ -553,5 +553,5 @@ namespace std
struct make_signed<bool>;
}
-#endif // _GLIBCXX_CXX0X_TYPE_TRAITS
+#endif // _GLIBCXX_TYPE_TRAITS