From 481668695af894b6738d2d64f3e005b2709399c5 Mon Sep 17 00:00:00 2001 From: Phil Edwards Date: Sun, 6 Jul 2003 04:37:22 +0000 Subject: [PATCH] allocator_traits.h: Fix doxygen markup. 2003-07-06 Phil Edwards * include/bits/allocator_traits.h: Fix doxygen markup. * include/ext/mt_allocator.h: Likewise. From-SVN: r68994 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/include/bits/allocator_traits.h | 1 - libstdc++-v3/include/ext/mt_allocator.h | 9 +++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3ccffeef2b8..d0a0a7470d7 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2003-07-06 Phil Edwards + + * include/bits/allocator_traits.h: Fix doxygen markup. + * include/ext/mt_allocator.h: Likewise. + 2003-07-06 Phil Edwards * testsuite/testsuite_hooks.h: Guard against a missing unlink(). diff --git a/libstdc++-v3/include/bits/allocator_traits.h b/libstdc++-v3/include/bits/allocator_traits.h index be9a352fdd9..35ef1d4ebb9 100644 --- a/libstdc++-v3/include/bits/allocator_traits.h +++ b/libstdc++-v3/include/bits/allocator_traits.h @@ -220,7 +220,6 @@ namespace std * @endif * (See @link Allocators allocators info @endlink for more.) */ - //@{ // The fully general version. template struct _Alloc_traits diff --git a/libstdc++-v3/include/ext/mt_allocator.h b/libstdc++-v3/include/ext/mt_allocator.h index cd3b273ad91..4c1d21fa92a 100644 --- a/libstdc++-v3/include/ext/mt_allocator.h +++ b/libstdc++-v3/include/ext/mt_allocator.h @@ -41,6 +41,9 @@ #include #include +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 > v1; * * typedef std::__allocator > string_alloc; * std::basic_string, string_alloc> s1; + * @endcode */ - -namespace __gnu_cxx -{ template class __mt_alloc { @@ -860,4 +862,3 @@ namespace std } // namespace std #endif -