From: Phil Edwards Date: Sun, 6 Jul 2003 04:37:22 +0000 (+0000) Subject: allocator_traits.h: Fix doxygen markup. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=481668695af894b6738d2d64f3e005b2709399c5;p=platform%2Fupstream%2Fgcc.git 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 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3ccffee..d0a0a74 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 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(). 2003-07-05 Phil Edwards diff --git a/libstdc++-v3/include/bits/allocator_traits.h b/libstdc++-v3/include/bits/allocator_traits.h index be9a352..35ef1d4 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 cd3b273..4c1d21f 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 -