]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
user.cfg.in (INPUT): Add C++14 headers.
authorJonathan Wakely <jwakely@redhat.com>
Sat, 14 Jun 2014 16:33:53 +0000 (17:33 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 14 Jun 2014 16:33:53 +0000 (17:33 +0100)
* doc/doxygen/user.cfg.in (INPUT): Add C++14 headers.
* include/bits/random.h (subtract_with_carry_engine): Fix Doxygen
warnings.
* include/bits/shared_ptr.h (shared_ptr): Likewise.
* include/bits/unordered_map.h (unordered_map, unordered_multimap):
Likewise.
* include/bits/unordered_set.h (unordered_set, unordered_multiset):
Likewise.
* include/parallel/list_partition.h (__parallel::list_partition):
Likewise.
* include/std/iomanip (quoted): Likewise.
* include/tr2/dynamic_bitset (dynamic_bitset): Likewise.

From-SVN: r211670

libstdc++-v3/ChangeLog
libstdc++-v3/doc/doxygen/user.cfg.in
libstdc++-v3/include/bits/random.h
libstdc++-v3/include/bits/shared_ptr.h
libstdc++-v3/include/bits/unordered_map.h
libstdc++-v3/include/bits/unordered_set.h
libstdc++-v3/include/parallel/list_partition.h
libstdc++-v3/include/std/iomanip
libstdc++-v3/include/tr2/dynamic_bitset

index c44fad8b3ba4175ac76841a1c04ec2b22e1f8241..e1a153cdeeb4a100d165e0534fe93dfdcad2ac30 100644 (file)
        * testsuite/experimental/any/modifiers/1.cc: New.
        * testsuite/experimental/any/observers/type.cc: New.
 
+       * doc/doxygen/user.cfg.in (INPUT): Add C++14 headers.
+       * include/bits/random.h (subtract_with_carry_engine): Fix Doxygen
+       warnings.
+       * include/bits/shared_ptr.h (shared_ptr): Likewise.
+       * include/bits/unordered_map.h (unordered_map, unordered_multimap):
+       Likewise.
+       * include/bits/unordered_set.h (unordered_set, unordered_multiset):
+       Likewise.
+       * include/parallel/list_partition.h (__parallel::list_partition):
+       Likewise.
+       * include/std/iomanip (quoted): Likewise.
+       * include/tr2/dynamic_bitset (dynamic_bitset): Likewise.
+
 2014-06-11  Maciej W. Rozycki  <macro@codesourcery.com>
 
        * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc
index 26395d6384e004618670ccfc047d20fc12e38f12..7ec91a16fdb7c54dec390cbdac45ed6ad3ff855e 100644 (file)
@@ -783,6 +783,7 @@ INPUT                  = @srcdir@/doc/doxygen/doxygroups.cc \
                          include/regex \
                          include/scoped_allocator \
                          include/set \
+                         include/shared_mutex \
                          include/sstream \
                          include/stack \
                          include/stdexcept \
@@ -885,6 +886,9 @@ INPUT                  = @srcdir@/doc/doxygen/doxygroups.cc \
                          include/tr2/ratio \
                          include/tr2/type_traits \
                          include/decimal/decimal \
+                         include/experimental/any \
+                         include/experimental/optional \
+                         include/experimental/string_view \
                          include/ext \
                          include/ext/pb_ds \
                          include/ext/pb_ds/detail \
index edfd797b72293bd78d5ce02552b25862c784b682..a466a45ba4d227d11558e47de75a90f1512d107e 100644 (file)
@@ -659,10 +659,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
    *
    * The size of the state is @f$r@f$
    * and the maximum period of the generator is @f$(m^r - m^s - 1)@f$.
-   *
-   * @var _M_x     The state of the generator.  This is a ring buffer.
-   * @var _M_carry The carry.
-   * @var _M_p     Current index of x(i - r).
    */
   template<typename _UIntType, size_t __w, size_t __s, size_t __r>
     class subtract_with_carry_engine
@@ -794,9 +790,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       template<typename _UIntType1, size_t __w1, size_t __s1, size_t __r1,
               typename _CharT, typename _Traits>
        friend std::basic_ostream<_CharT, _Traits>&
-       operator<<(std::basic_ostream<_CharT, _Traits>&,
+       operator<<(std::basic_ostream<_CharT, _Traits>& __os,
                   const std::subtract_with_carry_engine<_UIntType1, __w1,
-                  __s1, __r1>&);
+                  __s1, __r1>& __x);
 
       /**
        * @brief Extracts the current state of a % subtract_with_carry_engine
@@ -813,14 +809,15 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       template<typename _UIntType1, size_t __w1, size_t __s1, size_t __r1,
               typename _CharT, typename _Traits>
        friend std::basic_istream<_CharT, _Traits>&
-       operator>>(std::basic_istream<_CharT, _Traits>&,
+       operator>>(std::basic_istream<_CharT, _Traits>& __is,
                   std::subtract_with_carry_engine<_UIntType1, __w1,
-                  __s1, __r1>&);
+                  __s1, __r1>& __x);
 
     private:
+      /// The state of the generator.  This is a ring buffer.
       _UIntType  _M_x[long_lag];
-      _UIntType  _M_carry;
-      size_t     _M_p;
+      _UIntType  _M_carry;             ///< The carry
+      size_t     _M_p;                 ///< Current index of x(i - r).
     };
 
   /**
index 290a0c983a39778515c2bf5b54c2f3d0c768ba39..f611e53c179646d44d5a26232796bf2fb9453a63 100644 (file)
@@ -259,7 +259,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 
       /**
        *  @brief  Construct an empty %shared_ptr.
-       *  @param  __p  A null pointer constant.
        *  @post   use_count() == 0 && get() == nullptr
        */
       constexpr shared_ptr(nullptr_t) noexcept : shared_ptr() { }
index e93663cf6ae0d48a53a861e9f0b0fd3a50de722d..914d26a0c790321d91538fb8c80a2ebfb7777a79 100644 (file)
@@ -157,12 +157,12 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
        *  distance(__first,__last)).
        */
       template<typename _InputIterator>
-       unordered_map(_InputIterator __f, _InputIterator __l,
+       unordered_map(_InputIterator __first, _InputIterator __last,
                      size_type __n = 0,
                      const hasher& __hf = hasher(),
                      const key_equal& __eql = key_equal(),
                      const allocator_type& __a = allocator_type())
-       : _M_h(__f, __l, __n, __hf, __eql, __a)
+       : _M_h(__first, __last, __n, __hf, __eql, __a)
        { }
 
       /// Copy constructor.
@@ -479,8 +479,8 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
 
       // LWG 2059.
       iterator
-      erase(iterator __it)
-      { return _M_h.erase(__it); }
+      erase(iterator __position)
+      { return _M_h.erase(__position); }
       //@}
 
       /**
@@ -857,24 +857,24 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
 
       /**
        *  @brief  Builds an %unordered_multimap from a range.
-       *  @param  __first  An input iterator.
+       *  @param  __first An input iterator.
        *  @param  __last  An input iterator.
-       *  @param __n  Minimal initial number of buckets.
-       *  @param __hf  A hash functor.
-       *  @param __eql  A key equality functor.
-       *  @param __a  An allocator object.
+       *  @param __n      Minimal initial number of buckets.
+       *  @param __hf     A hash functor.
+       *  @param __eql    A key equality functor.
+       *  @param __a      An allocator object.
        *
        *  Create an %unordered_multimap consisting of copies of the elements
        *  from [__first,__last).  This is linear in N (where N is
        *  distance(__first,__last)).
        */
       template<typename _InputIterator>
-       unordered_multimap(_InputIterator __f, _InputIterator __l,
+       unordered_multimap(_InputIterator __first, _InputIterator __last,
                           size_type __n = 0,
                           const hasher& __hf = hasher(),
                           const key_equal& __eql = key_equal(),
                           const allocator_type& __a = allocator_type())
-       : _M_h(__f, __l, __n, __hf, __eql, __a)
+       : _M_h(__first, __last, __n, __hf, __eql, __a)
        { }
 
       /// Copy constructor.
@@ -1174,8 +1174,8 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
 
       // LWG 2059.
       iterator
-      erase(iterator __it)
-      { return _M_h.erase(__it); }
+      erase(iterator __position)
+      { return _M_h.erase(__position); }
       //@}
 
       /**
index e810f97f8f0e60449facfa38446c601e5433b944..e37bcda9bd4de4dbf9f97f4205d8906f266caa53 100644 (file)
@@ -150,12 +150,12 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
        *  distance(__first,__last)).
        */
       template<typename _InputIterator>
-       unordered_set(_InputIterator __f, _InputIterator __l,
+       unordered_set(_InputIterator __first, _InputIterator __last,
                      size_type __n = 0,
                      const hasher& __hf = hasher(),
                      const key_equal& __eql = key_equal(),
                      const allocator_type& __a = allocator_type())
-       : _M_h(__f, __l, __n, __hf, __eql, __a)
+       : _M_h(__first, __last, __n, __hf, __eql, __a)
        { }
 
       /// Copy constructor.
@@ -452,8 +452,8 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
 
       // LWG 2059.
       iterator
-      erase(iterator __it)
-      { return _M_h.erase(__it); }
+      erase(iterator __position)
+      { return _M_h.erase(__position); }
       //@}
 
       /**
@@ -774,23 +774,23 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
       /**
        *  @brief  Builds an %unordered_multiset from a range.
        *  @param  __first  An input iterator.
-       *  @param  __last  An input iterator.
-       *  @param __n  Minimal initial number of buckets.
-       *  @param __hf  A hash functor.
-       *  @param __eql  A key equality functor.
-       *  @param __a  An allocator object.
+       *  @param  __last   An input iterator.
+       *  @param __n       Minimal initial number of buckets.
+       *  @param __hf      A hash functor.
+       *  @param __eql     A key equality functor.
+       *  @param __a       An allocator object.
        *
        *  Create an %unordered_multiset consisting of copies of the elements
        *  from [__first,__last).  This is linear in N (where N is
        *  distance(__first,__last)).
        */
       template<typename _InputIterator>
-       unordered_multiset(_InputIterator __f, _InputIterator __l,
+       unordered_multiset(_InputIterator __first, _InputIterator __last,
                           size_type __n = 0,
                           const hasher& __hf = hasher(),
                           const key_equal& __eql = key_equal(),
                           const allocator_type& __a = allocator_type())
-       : _M_h(__f, __l, __n, __hf, __eql, __a)
+       : _M_h(__first, __last, __n, __hf, __eql, __a)
        { }
 
       /// Copy constructor.
@@ -1066,8 +1066,8 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
 
       // LWG 2059.
       iterator
-      erase(iterator __it)
-      { return _M_h.erase(__it); }
+      erase(iterator __position)
+      { return _M_h.erase(__position); }
       //@}
 
 
index c9452a4df7437116cb01f6d68e9ed8cf4d3ac20b..a8d6143927b307f8e59e6a17193623c9aa770d83 100644 (file)
@@ -90,10 +90,10 @@ namespace __gnu_parallel
    *  @param __f Functor to be applied to each element by traversing __it
    *  @param __oversampling Oversampling factor. If 0, then the
    *  partitions will differ in at most 
-   *  \sqrt{\mathrm{__end} - \mathrm{__begin}} 
-   *  __elements. Otherwise, the ratio between the
+   *  \f$\sqrt{\mathrm{end} - \mathrm{begin}}\f$ 
+   *  elements. Otherwise, the ratio between the
    *  longest and the shortest part is bounded by
-   *  1/(\mathrm{__oversampling} \cdot \mathrm{num\_parts})
+   *  \f$1/(\mathrm{oversampling} \cdot \mathrm{num\_parts})\f$
    *  @return Length of the whole sequence.
    */
   template<typename _IIter, typename _FunctorType>
index cc6f60cdeeba16e0531723ead153b0b5843134a8..2adfedafa971818dc4a25a0f7b3041d400c194e5 100644 (file)
@@ -462,7 +462,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 
   /**
    * @brief Manipulator for quoted strings.
-   * @param __str    String to quote.
+   * @param __string String to quote.
    * @param __delim  Character to quote string with.
    * @param __escape Escape character to escape itself or quote character.
    */
index cf1ed0f49ab93155921bdfc72c1caf980a4fcef1..dba145b950e9ec6819c4d76cf71a3506e7deed0a 100644 (file)
@@ -650,6 +650,7 @@ public:
       /**
        *  @brief  Construct from a string.
        *  @param  __str  A string of '0' and '1' characters.
+       *  @param  __alloc An allocator.
        *  @throw  std::invalid_argument  If a character appears in the string
        *                                 which is neither '0' nor '1'.
        */