diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3ccffeef2b8bc9b7d0b6137f71f97a87284bfea9..d0a0a7470d71d448e556296b20228d0f96e5dac1 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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(). diff --git a/libstdc++-v3/include/bits/allocator_traits.h b/libstdc++-v3/include/bits/allocator_traits.h index be9a352fdd9f42c940c3e67daa866d8934a624f0..35ef1d4ebb94ceea30513c62c509a6669bf8c486 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<typename _Tp, typename _Allocator> struct _Alloc_traits diff --git a/libstdc++-v3/include/ext/mt_allocator.h b/libstdc++-v3/include/ext/mt_allocator.h index cd3b273ad91a0529980871f7b72060343a4ed058..4c1d21fa92ab9bd1dc75812f57a125676981f827 100644 --- a/libstdc++-v3/include/ext/mt_allocator.h +++ b/libstdc++-v3/include/ext/mt_allocator.h @@ -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 -