diff options
Diffstat (limited to 'libstdc++-v3/include/ext')
-rw-r--r-- | libstdc++-v3/include/ext/array_allocator.h | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/ext/bitmap_allocator.h | 1 | ||||
-rw-r--r-- | libstdc++-v3/include/ext/codecvt_specializations.h | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/ext/concurrence.h | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/ext/enc_filebuf.h | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/ext/mt_allocator.h | 10 | ||||
-rw-r--r-- | libstdc++-v3/include/ext/pb_ds/tag_and_trait.hpp | 3 | ||||
-rw-r--r-- | libstdc++-v3/include/ext/pool_allocator.h | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/ext/stdio_sync_filebuf.h | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/ext/throw_allocator.h | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/ext/typelist.h | 3 |
11 files changed, 22 insertions, 17 deletions
diff --git a/libstdc++-v3/include/ext/array_allocator.h b/libstdc++-v3/include/ext/array_allocator.h index d5f70923743..a2e28f9d998 100644 --- a/libstdc++-v3/include/ext/array_allocator.h +++ b/libstdc++-v3/include/ext/array_allocator.h @@ -45,7 +45,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) using std::size_t; using std::ptrdiff_t; - /// @brief Base class. + /// Base class. template<typename _Tp> class array_allocator_base { diff --git a/libstdc++-v3/include/ext/bitmap_allocator.h b/libstdc++-v3/include/ext/bitmap_allocator.h index 2736a4640eb..5e553b00af8 100644 --- a/libstdc++-v3/include/ext/bitmap_allocator.h +++ b/libstdc++-v3/include/ext/bitmap_allocator.h @@ -706,6 +706,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) }; }; + /// Primary template template<typename _Tp> class bitmap_allocator : private free_list { diff --git a/libstdc++-v3/include/ext/codecvt_specializations.h b/libstdc++-v3/include/ext/codecvt_specializations.h index 42e3c0f1477..e46d9675fd1 100644 --- a/libstdc++-v3/include/ext/codecvt_specializations.h +++ b/libstdc++-v3/include/ext/codecvt_specializations.h @@ -47,7 +47,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) - /// @brief Extension to use iconv for dealing with character encodings. + /// Extension to use iconv for dealing with character encodings. // This includes conversions and comparisons between various character // sets. This object encapsulates data that may need to be shared between // char_traits, codecvt and ctype. @@ -206,7 +206,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) } }; - /// @brief encoding_char_traits. + /// encoding_char_traits // Custom traits type with encoding_state for the state type, and the // associated fpos<encoding_state> for the position type, all other // bits equivalent to the required char_traits instantiations. @@ -224,7 +224,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) using __gnu_cxx::encoding_state; - /// @brief codecvt<InternT, _ExternT, encoding_state> specialization. + /// codecvt<InternT, _ExternT, encoding_state> specialization. // This partial specialization takes advantage of iconv to provide // code conversions between a large number of character encodings. template<typename _InternT, typename _ExternT> diff --git a/libstdc++-v3/include/ext/concurrence.h b/libstdc++-v3/include/ext/concurrence.h index 765b93dbdc2..b9e43d67f90 100644 --- a/libstdc++-v3/include/ext/concurrence.h +++ b/libstdc++-v3/include/ext/concurrence.h @@ -240,7 +240,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) { return &_M_mutex; } }; - /// @brief Scoped lock idiom. + /// Scoped lock idiom. // Acquire the mutex here with a constructor call, then release with // the destructor call in accordance with RAII style. class __scoped_lock diff --git a/libstdc++-v3/include/ext/enc_filebuf.h b/libstdc++-v3/include/ext/enc_filebuf.h index bba78e06be4..e04072bce47 100644 --- a/libstdc++-v3/include/ext/enc_filebuf.h +++ b/libstdc++-v3/include/ext/enc_filebuf.h @@ -40,7 +40,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) - /// @brief class enc_filebuf. + /// class enc_filebuf. template<typename _CharT> class enc_filebuf : public std::basic_filebuf<_CharT, encoding_char_traits<_CharT> > diff --git a/libstdc++-v3/include/ext/mt_allocator.h b/libstdc++-v3/include/ext/mt_allocator.h index 84aed823a68..08aa311f8b8 100644 --- a/libstdc++-v3/include/ext/mt_allocator.h +++ b/libstdc++-v3/include/ext/mt_allocator.h @@ -47,7 +47,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) typedef void (*__destroy_handler)(void*); - /// @brief Base class for pool object. + /// Base class for pool object. struct __pool_base { // Using short int as type for the binmap implies we are never @@ -455,7 +455,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) }; #endif - /// @brief Policy for shared __pool objects. + /// Policy for shared __pool objects. template<template <bool> class _PoolTp, bool _Thread> struct __common_pool_policy : public __common_pool_base<_PoolTp, _Thread> { @@ -550,7 +550,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) }; #endif - /// @brief Policy for individual __pool objects. + /// Policy for individual __pool objects. template<typename _Tp, template <bool> class _PoolTp, bool _Thread> struct __per_type_pool_policy : public __per_type_pool_base<_Tp, _PoolTp, _Thread> @@ -565,7 +565,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) }; - /// @brief Base class for _Tp dependent member functions. + /// Base class for _Tp dependent member functions. template<typename _Tp> class __mt_alloc_base { @@ -621,7 +621,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) * the "global" list). * * Further details: - * http://gcc.gnu.org/onlinedocs/libstdc++/ext/mt_allocator.html + * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt12ch32.html */ template<typename _Tp, typename _Poolp = __common_pool_policy<__pool, __thread_default> > diff --git a/libstdc++-v3/include/ext/pb_ds/tag_and_trait.hpp b/libstdc++-v3/include/ext/pb_ds/tag_and_trait.hpp index 09475a2ec95..bb39d17931f 100644 --- a/libstdc++-v3/include/ext/pb_ds/tag_and_trait.hpp +++ b/libstdc++-v3/include/ext/pb_ds/tag_and_trait.hpp @@ -52,9 +52,8 @@ /** * @namespace __gnu_pbds - * @brief GNU extension policy-based data structures for public use. + * @brief GNU extensions for policy-based data structures for public use. */ - namespace __gnu_pbds { // A trivial iterator tag. Signifies that the iterators has none of diff --git a/libstdc++-v3/include/ext/pool_allocator.h b/libstdc++-v3/include/ext/pool_allocator.h index e2e38a02af5..c4d2ef2157d 100644 --- a/libstdc++-v3/include/ext/pool_allocator.h +++ b/libstdc++-v3/include/ext/pool_allocator.h @@ -119,7 +119,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) }; - /// @brief class __pool_alloc. + /// class __pool_alloc. template<typename _Tp> class __pool_alloc : private __pool_alloc_base { diff --git a/libstdc++-v3/include/ext/stdio_sync_filebuf.h b/libstdc++-v3/include/ext/stdio_sync_filebuf.h index a1d2b385daa..6cb555a08a3 100644 --- a/libstdc++-v3/include/ext/stdio_sync_filebuf.h +++ b/libstdc++-v3/include/ext/stdio_sync_filebuf.h @@ -47,7 +47,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) - /// @brief class stdio_sync_filebuf. + /// class stdio_sync_filebuf. template<typename _CharT, typename _Traits = std::char_traits<_CharT> > class stdio_sync_filebuf : public std::basic_streambuf<_CharT, _Traits> { diff --git a/libstdc++-v3/include/ext/throw_allocator.h b/libstdc++-v3/include/ext/throw_allocator.h index 04204cb55fc..a5aa725cdce 100644 --- a/libstdc++-v3/include/ext/throw_allocator.h +++ b/libstdc++-v3/include/ext/throw_allocator.h @@ -80,6 +80,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) std::tr1::mt19937 _M_generator; }; + /// Thown by throw_allocator. struct forced_exception_error : public std::exception { }; @@ -94,6 +95,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) #endif } + /// Base class. class throw_allocator_base { public: @@ -184,7 +186,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) static size_t _S_label; }; - + /// Allocator class with logging and exception control. template<typename T> class throw_allocator : public throw_allocator_base { @@ -309,7 +311,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) twister_rand_gen throw_allocator_base::_S_g; - throw_allocator_base::map_type + throw_allocator_base::map_type throw_allocator_base::_S_map; double throw_allocator_base::_S_throw_prob; diff --git a/libstdc++-v3/include/ext/typelist.h b/libstdc++-v3/include/ext/typelist.h index 1c99783923d..b7cd95434e6 100644 --- a/libstdc++-v3/include/ext/typelist.h +++ b/libstdc++-v3/include/ext/typelist.h @@ -50,6 +50,9 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) +/** @namespace __gnu_cxx::typelist + * @brief GNU typelist extensions for public compile-time use. +*/ namespace typelist { struct null_type { }; |