summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/tr1
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2006-11-29 20:59:22 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2006-11-29 20:59:22 +0000
commit78a538873925180f59ee0b89e9ce9f1ba91b138b (patch)
treea01ca369517bc5c84f3118fd07ba352999e5d0f5 /libstdc++-v3/include/tr1
parent3a7d5586cb7c516882365a6e4232fd84562bf138 (diff)
downloadgcc-78a538873925180f59ee0b89e9ce9f1ba91b138b.tar.gz
throw_allocator.h: Consistent @file markup.
2006-11-29 Benjamin Kosnik <bkoz@redhat.com> * include/ext/throw_allocator.h: Consistent @file markup. * include/ext/type_traits.h: Same. * include/debug/hash_map: Same. * include/debug/hash_multimap.h: Same. * include/debug/set.h: Same. * include/debug/hash_set.h: Same. * include/debug/formatter.h: Same. * include/debug/bitset: Same. * include/debug/set: Same. * include/debug/multiset.h: Same. * include/debug/safe_sequence.h: Same. * include/debug/hash_set: Same. * include/debug/functions.h: Same. * include/debug/safe_base.h: Same. * include/debug/hash_multiset.h: Same. * include/debug/safe_iterator.tcc: Same. * include/debug/vector: Same. * include/debug/map.h: Same. * include/debug/deque: Same. * include/debug/hash_map.h: Same. * include/debug/string: Same. * include/debug/macros.h: Same. * include/debug/list: Same. * include/debug/debug.h: Same. * include/debug/map: Same. * include/debug/safe_iterator.h: Same. * include/debug/multimap.h: Same. * config/cpu/generic/atomicity_mutex/atomicity.h: Same. * config/cpu/generic/atomicity_builtins/atomicity.h: Same. * config/cpu/generic/atomic_word.h: Same. * include/tr1/memory: Same. * include/tr1/random: Same. * include/std/std_queue.h: Same. * include/std/std_iterator.h: Same. * include/std/std_bitset.h: Same. * include/std/std_set.h: Same. * include/std/std_vector.h: Same. * include/std/std_deque.h: Same. * include/std/std_utility.h: Same. * include/std/std_stack.h: Same. * include/std/std_string.h: Same. * include/std/std_list.h: Same. * include/std/std_map.h: Same. * libsupc++/typeinfo: Same. * libsupc++/exception: Same. * libsupc++/exception_defines.h: Same. * libsupc++/new: Same. * include/ext/bitmap_allocator.h: Change namespace __balloc to __detail. * src/bitmap_allocator.cc: Same. * include/bits/cpp_type_traits.h: Change __true_type and __false_type from global to namespace std scope. * include/ext/slist: Same. * include/ext/vstring.h: Same. * include/ext/vstring.tcc: Same. * include/ext/rc_string_base.h: Same. * include/ext/sso_string_base.h: Same. * include/bits/codecvt.h: Adjust markup so that correct namespace scope information is in all files. * include/bits/locale_facets.h: Same. Include ctype_base directly. * config/os/windiss/ctype_base.h: Add in namespace markup. * config/os/newlib/ctype_base.h: Same. * config/os/aix/ctype_base.h: Same. * config/os/vxworks/ctype_base.h: Same. * config/os/hpux/ctype_base.h: Same. * config/os/mingw32/ctype_base.h: Same. * config/os/gnu-linux/ctype_base.h: Same. * config/os/tpf/ctype_base.h: Same. * config/os/uclibc/ctype_base.h: Same. * config/os/djgpp/ctype_base.h: Same. * config/os/qnx/qnx6.1/ctype_base.h: Same. * config/os/bsd/netbsd/ctype_base.h: Same. * config/os/bsd/darwin/ctype_base.h: Same. * config/os/bsd/freebsd/ctype_base.h: Same. * config/os/irix/irix5.2/ctype_base.h: Same. * config/os/irix/irix6.5/ctype_base.h: Same. * config/os/solaris/solaris2.5/ctype_base.h: Same. * config/os/solaris/solaris2.6/ctype_base.h: Same. * config/os/solaris/solaris2.7/ctype_base.h: Same. * config/os/generic/ctype_base.h: Same. * include/tr1/mu_iterate.h: Same. * include/tr1/tuple: Same. * include/tr1/tuple_iterate.h: Same. * include/tr1/tuple_defs.h: Same. * include/tr1/random.tcc: Same. * include/tr1/functional: Same. * include/tr1/functional_iterate.h: Same. * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Line number changes. * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same. * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same. * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same. * docs/doxygen/user.cfg.in: Update to doxygen 1.5.1. * docs/html/17_intro/license.html: Updated info for generated docs. * docs/doxygen/guide.html: Adjust. * docs/doxygen/run_doxygen: Adjust. * docs/doxygen/mainpage.html: Same. * docs/doxygen/doxygroups.cc: Same. * docs/doxygen/Intro.3: Same. * docs/doxygen/tables.html: Same. From-SVN: r119334
Diffstat (limited to 'libstdc++-v3/include/tr1')
-rw-r--r--libstdc++-v3/include/tr1/functional9
-rw-r--r--libstdc++-v3/include/tr1/functional_iterate.h6
-rw-r--r--libstdc++-v3/include/tr1/memory5
-rw-r--r--libstdc++-v3/include/tr1/mu_iterate.h3
-rw-r--r--libstdc++-v3/include/tr1/random6
-rw-r--r--libstdc++-v3/include/tr1/random.tcc4
-rw-r--r--libstdc++-v3/include/tr1/tuple6
-rw-r--r--libstdc++-v3/include/tr1/tuple_defs.h6
-rw-r--r--libstdc++-v3/include/tr1/tuple_iterate.h6
9 files changed, 44 insertions, 7 deletions
diff --git a/libstdc++-v3/include/tr1/functional b/libstdc++-v3/include/tr1/functional
index 0ee202bb762..bafcb1f0504 100644
--- a/libstdc++-v3/include/tr1/functional
+++ b/libstdc++-v3/include/tr1/functional
@@ -1090,6 +1090,10 @@ _GLIBCXX_BEGIN_NAMESPACE(tr1)
__x.swap(__y);
}
+_GLIBCXX_END_NAMESPACE
+}
+
+
#define _GLIBCXX_JOIN(X,Y) _GLIBCXX_JOIN2( X , Y )
#define _GLIBCXX_JOIN2(X,Y) _GLIBCXX_JOIN3(X,Y)
#define _GLIBCXX_JOIN3(X,Y) X##Y
@@ -1100,6 +1104,11 @@ _GLIBCXX_BEGIN_NAMESPACE(tr1)
#undef _GLIBCXX_JOIN2
#undef _GLIBCXX_JOIN
+
+namespace std
+{
+_GLIBCXX_BEGIN_NAMESPACE(tr1)
+
// Definition of default hash function std::tr1::hash<>. The types for
// which std::tr1::hash<T> is defined is in clause 6.3.3. of the PDTR.
template<typename T>
diff --git a/libstdc++-v3/include/tr1/functional_iterate.h b/libstdc++-v3/include/tr1/functional_iterate.h
index 4a74f83efec..3d6cc8c5c1a 100644
--- a/libstdc++-v3/include/tr1/functional_iterate.h
+++ b/libstdc++-v3/include/tr1/functional_iterate.h
@@ -33,6 +33,10 @@
* You should not attempt to use it directly.
*/
+namespace std
+{
+_GLIBCXX_BEGIN_NAMESPACE(tr1)
+
template<typename _Res _GLIBCXX_COMMA _GLIBCXX_TEMPLATE_PARAMS>
struct _Weak_result_type_impl<_Res(_GLIBCXX_TEMPLATE_ARGS)>
{
@@ -914,3 +918,5 @@ template<typename _Functor>
}
}
+_GLIBCXX_END_NAMESPACE
+}
diff --git a/libstdc++-v3/include/tr1/memory b/libstdc++-v3/include/tr1/memory
index 94a04777a1e..e819d8bd0ed 100644
--- a/libstdc++-v3/include/tr1/memory
+++ b/libstdc++-v3/include/tr1/memory
@@ -27,6 +27,11 @@
// invalidate any other reasons why the executable file might be covered by
// the GNU General Public License.
+/**
+ * @file
+ * This is a TR1 C++ Library header.
+ */
+
#ifndef _TR1_MEMORY
#define _TR1_MEMORY 1
diff --git a/libstdc++-v3/include/tr1/mu_iterate.h b/libstdc++-v3/include/tr1/mu_iterate.h
index ece3fc2dbfd..31d4eff2fd4 100644
--- a/libstdc++-v3/include/tr1/mu_iterate.h
+++ b/libstdc++-v3/include/tr1/mu_iterate.h
@@ -36,6 +36,8 @@
// Determine the result type when we pass the arguments along. This
// involves passing along the cv-qualifiers placed on _Mu and
// unwrapping the argument bundle.
+// @namespace std::tr1
+// @class std::tr1::_Mu::result
template<typename _CVMu, typename _CVArg
_GLIBCXX_COMMA _GLIBCXX_TEMPLATE_PARAMS>
class result<_CVMu(_CVArg, tuple<_GLIBCXX_TEMPLATE_ARGS>)>
@@ -48,4 +50,3 @@ operator()(_CVArg& __arg, const tuple<_GLIBCXX_TEMPLATE_ARGS>& __tuple)
{
return __arg(_GLIBCXX_MU_GET_TUPLE_ARGS);
}
-
diff --git a/libstdc++-v3/include/tr1/random b/libstdc++-v3/include/tr1/random
index 9114d80b672..0f10db52bec 100644
--- a/libstdc++-v3/include/tr1/random
+++ b/libstdc++-v3/include/tr1/random
@@ -27,14 +27,14 @@
// invalidate any other reasons why the executable file might be covered by
// the GNU General Public License.
-#ifndef _TR1_RANDOM
-#define _TR1_RANDOM 1
-
/**
* @file
* This is a TR1 C++ Library header.
*/
+#ifndef _TR1_RANDOM
+#define _TR1_RANDOM 1
+
#include <algorithm>
#include <bits/concept_check.h>
#include <cmath>
diff --git a/libstdc++-v3/include/tr1/random.tcc b/libstdc++-v3/include/tr1/random.tcc
index 67d79edf69a..57c92589308 100644
--- a/libstdc++-v3/include/tr1/random.tcc
+++ b/libstdc++-v3/include/tr1/random.tcc
@@ -27,6 +27,10 @@
// invalidate any other reasons why the executable file might be covered by
// the GNU General Public License.
+/** @file
+ * This is a TR1 C++ Library header.
+ */
+
namespace std
{
_GLIBCXX_BEGIN_NAMESPACE(tr1)
diff --git a/libstdc++-v3/include/tr1/tuple b/libstdc++-v3/include/tr1/tuple
index 4ec88bd9214..7b4b8f093ad 100644
--- a/libstdc++-v3/include/tr1/tuple
+++ b/libstdc++-v3/include/tr1/tuple
@@ -145,6 +145,9 @@ _GLIBCXX_BEGIN_NAMESPACE(tr1)
swallow_assign ignore;
}; // anonymous namespace
+_GLIBCXX_END_NAMESPACE
+}
+
#define _GLIBCXX_CAT(x,y) _GLIBCXX_CAT2(x,y)
#define _GLIBCXX_CAT2(x,y) x##y
#define _SHORT_REPEAT
@@ -153,9 +156,6 @@ _GLIBCXX_BEGIN_NAMESPACE(tr1)
#undef _GLIBCXX_REPEAT_HEADER
#undef _SHORT_REPEAT
-_GLIBCXX_END_NAMESPACE
-}
-
#include <tr1/functional>
#endif
diff --git a/libstdc++-v3/include/tr1/tuple_defs.h b/libstdc++-v3/include/tr1/tuple_defs.h
index 35a739ee4f8..8cab92724af 100644
--- a/libstdc++-v3/include/tr1/tuple_defs.h
+++ b/libstdc++-v3/include/tr1/tuple_defs.h
@@ -26,6 +26,12 @@
// 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 tuple_defs.h
+ * This is an internal header file, included by other library headers.
+ * You should not attempt to use it directly.
+ */
+
#ifndef _GLIBCXX_REPEAT_HEADER
# define _GLIBCXX_REPEAT_HEADER "tuple_defs.h"
# include "repeat.h"
diff --git a/libstdc++-v3/include/tr1/tuple_iterate.h b/libstdc++-v3/include/tr1/tuple_iterate.h
index da6166e725d..c1fcee6107a 100644
--- a/libstdc++-v3/include/tr1/tuple_iterate.h
+++ b/libstdc++-v3/include/tr1/tuple_iterate.h
@@ -34,6 +34,10 @@
// Chris Jefferson <chris@bubblescope.net>
+namespace std
+{
+_GLIBCXX_BEGIN_NAMESPACE(tr1)
+
/// @brief class tuple_size
template<_GLIBCXX_TEMPLATE_PARAMS>
struct tuple_size<tuple<_GLIBCXX_TEMPLATE_ARGS> >
@@ -164,3 +168,5 @@ template<_GLIBCXX_TEMPLATE_PARAMS>
{ return make_tuple(_GLIBCXX_REF_WRAP_PARAMS); }
#endif
+_GLIBCXX_END_NAMESPACE
+}