allocator_traits.h: Fix doxygen markup.
authorPhil Edwards <pme@gcc.gnu.org>
Sun, 6 Jul 2003 04:37:22 +0000 (04:37 +0000)
committerPhil Edwards <pme@gcc.gnu.org>
Sun, 6 Jul 2003 04:37:22 +0000 (04:37 +0000)
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
libstdc++-v3/include/bits/allocator_traits.h
libstdc++-v3/include/ext/mt_allocator.h

index 3ccffee..d0a0a74 100644 (file)
@@ -1,5 +1,10 @@
 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().
 
 2003-07-05  Phil Edwards  <pme@gcc.gnu.org>
index be9a352..35ef1d4 100644 (file)
@@ -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 cd3b273..4c1d21f 100644 (file)
@@ -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
  *  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
-