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
This commit is contained in:
Phil Edwards 2003-07-06 04:37:22 +00:00
parent aaa4a229ec
commit 481668695a
3 changed files with 10 additions and 5 deletions

View File

@ -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().

View 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

View 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
@ -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