]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix markdown in Doxygen comments for std::reduce
authorJonathan Wakely <jwakely@redhat.com>
Tue, 20 Aug 2019 21:40:37 +0000 (22:40 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 20 Aug 2019 21:40:37 +0000 (22:40 +0100)
* include/std/numeric (reduce): Fix Doxygen markup.

From-SVN: r274759

libstdc++-v3/ChangeLog
libstdc++-v3/include/std/numeric

index d336874edb607a01c59e4687a6255c7d74f01308..3c6c14564393db8f9bb50446cbe780cb6e299e60 100644 (file)
@@ -1,5 +1,7 @@
 2019-08-20  Jonathan Wakely  <jwakely@redhat.com>
 
+       * include/std/numeric (reduce): Fix Doxygen markup.
+
        Backport from mainline
        2019-06-19  Jonathan Wakely  <jwakely@redhat.com>
 
index 29d801d8bff298878a20927489efb23b86df1e78..87a50e572d1d6a752dae87eeba6dc3ab42c72b1d 100644 (file)
@@ -288,7 +288,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
    *  @return  The final sum.
    *
    *  Reduce the values in the range `[first,last)` using addition.
-   *  Equivalent to calling std::reduce(first, last, init, std::plus<>())`.
+   *  Equivalent to calling `std::reduce(first, last, init, std::plus<>())`.
    */
   template<typename _InputIterator, typename _Tp>
     inline _Tp
@@ -304,7 +304,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
    *
    *  Reduce the values in the range `[first,last)` using addition, with
    *  an initial value of `T{}`, where `T` is the iterator's value type.
-   *  Equivalent to calling std::reduce(first, last, T{}, std::plus<>())`.
+   *  Equivalent to calling `std::reduce(first, last, T{}, std::plus<>())`.
    */
   template<typename _InputIterator>
     inline typename iterator_traits<_InputIterator>::value_type