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
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>
* @endif
* (See @link Allocators allocators info @endlink for more.)
*/
- //@{
// The fully general version.
template<typename _Tp, typename _Allocator>
struct _Alloc_traits
#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
{
} // namespace std
#endif
-