This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[libstdc++] Repair *grin* allocator doxygen markup


The splitting of the allocator files also split apart some begin/end
markers for doxygen.  Applied to trunk.


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

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


Index: include/bits/allocator_traits.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/bits/allocator_traits.h,v
retrieving revision 1.1
diff -u -3 -p -r1.1 allocator_traits.h
--- include/bits/allocator_traits.h	11 Jun 2003 15:52:09 -0000	1.1
+++ include/bits/allocator_traits.h	6 Jul 2003 04:35:09 -0000
@@ -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
Index: include/ext/mt_allocator.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/ext/mt_allocator.h,v
retrieving revision 1.2
diff -u -3 -p -r1.2 mt_allocator.h
--- include/ext/mt_allocator.h	24 Jun 2003 06:34:34 -0000	1.2
+++ include/ext/mt_allocator.h	6 Jul 2003 04:35:09 -0000
@@ -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
-


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]