Commit 48166869 by Phil Edwards

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
parent aaa4a229
2003-07-06 Phil Edwards <pme@gcc.gnu.org> 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(). * testsuite/testsuite_hooks.h: Guard against a missing unlink().
2003-07-05 Phil Edwards <pme@gcc.gnu.org> 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
......
...@@ -220,7 +220,6 @@ namespace std ...@@ -220,7 +220,6 @@ namespace std
* @endif * @endif
* (See @link Allocators allocators info @endlink for more.) * (See @link Allocators allocators info @endlink for more.)
*/ */
//@{
// The fully general version. // The fully general version.
template<typename _Tp, typename _Allocator> template<typename _Tp, typename _Allocator>
struct _Alloc_traits struct _Alloc_traits
......
...@@ -41,6 +41,9 @@ ...@@ -41,6 +41,9 @@
#include <bits/atomicity.h> #include <bits/atomicity.h>
#include <bits/allocator_traits.h> #include <bits/allocator_traits.h>
namespace __gnu_cxx
{
/** /**
* This is a fixed size (power of 2) allocator which - when compiled * This is a fixed size (power of 2) allocator which - when compiled
* with thread support - will maintain one freelist per size per thread * with thread support - will maintain one freelist per size per thread
...@@ -48,14 +51,13 @@ ...@@ -48,14 +51,13 @@
* sizes (by returning excess back to "global"). * sizes (by returning excess back to "global").
* *
* Usage examples: * Usage examples:
* @code
* vector<int, __gnu_cxx::__mt_alloc<0> > v1; * vector<int, __gnu_cxx::__mt_alloc<0> > v1;
* *
* typedef std::__allocator<char, __gnu_cxx::__mt_alloc<0> > string_alloc; * typedef std::__allocator<char, __gnu_cxx::__mt_alloc<0> > string_alloc;
* std::basic_string<char, std::char_traits<char>, string_alloc> s1; * std::basic_string<char, std::char_traits<char>, string_alloc> s1;
* @endcode
*/ */
namespace __gnu_cxx
{
template<int __inst> template<int __inst>
class __mt_alloc class __mt_alloc
{ {
...@@ -860,4 +862,3 @@ namespace std ...@@ -860,4 +862,3 @@ namespace std
} // namespace std } // namespace std
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment