From 481668695af894b6738d2d64f3e005b2709399c5 Mon Sep 17 00:00:00 2001
From: Phil Edwards <pme@gcc.gnu.org>
Date: Sun, 6 Jul 2003 04:37:22 +0000
Subject: [PATCH] allocator_traits.h: Fix doxygen markup.

2003-07-06  Phil Edwards  <pme@gcc.gnu.org>

	* include/bits/allocator_traits.h:  Fix doxygen markup.
	* include/ext/mt_allocator.h:  Likewise.

From-SVN: r68994
---
 libstdc++-v3/ChangeLog                       | 5 +++++
 libstdc++-v3/include/bits/allocator_traits.h | 1 -
 libstdc++-v3/include/ext/mt_allocator.h      | 9 +++++----
 3 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 3ccffeef2b8b..d0a0a7470d71 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2003-07-06  Phil Edwards  <pme@gcc.gnu.org>
+
+	* include/bits/allocator_traits.h:  Fix doxygen markup.
+	* include/ext/mt_allocator.h:  Likewise.
+
 2003-07-06  Phil Edwards  <pme@gcc.gnu.org>
 
 	* testsuite/testsuite_hooks.h:  Guard against a missing unlink().
diff --git a/libstdc++-v3/include/bits/allocator_traits.h b/libstdc++-v3/include/bits/allocator_traits.h
index be9a352fdd9f..35ef1d4ebb94 100644
--- a/libstdc++-v3/include/bits/allocator_traits.h
+++ b/libstdc++-v3/include/bits/allocator_traits.h
@@ -220,7 +220,6 @@ namespace std
    *  @endif
    *  (See @link Allocators allocators info @endlink for more.)
    */
-  //@{
   // The fully general version.
   template<typename _Tp, typename _Allocator>
     struct _Alloc_traits
diff --git a/libstdc++-v3/include/ext/mt_allocator.h b/libstdc++-v3/include/ext/mt_allocator.h
index cd3b273ad91a..4c1d21fa92ab 100644
--- a/libstdc++-v3/include/ext/mt_allocator.h
+++ b/libstdc++-v3/include/ext/mt_allocator.h
@@ -41,6 +41,9 @@
 #include <bits/atomicity.h>
 #include <bits/allocator_traits.h>
 
+namespace __gnu_cxx
+{
+
 /**
  *  This is a fixed size (power of 2) allocator which - when compiled
  *  with thread support - will maintain one freelist per size per thread
@@ -48,14 +51,13 @@
  *  sizes (by returning excess back to "global").
  *
  *  Usage examples:
+ *  @code
  *    vector<int, __gnu_cxx::__mt_alloc<0> > v1;
  *
  *    typedef std::__allocator<char, __gnu_cxx::__mt_alloc<0> > string_alloc;
  *    std::basic_string<char, std::char_traits<char>, string_alloc> s1;
+ *  @endcode
  */
-
-namespace __gnu_cxx
-{
   template<int __inst>
     class __mt_alloc
     {
@@ -860,4 +862,3 @@ namespace std
 } // namespace std
 
 #endif
-
-- 
GitLab