[gcc/devel/omp/gcc-9] Fix markdown in Doxygen comments for std::reduce

Tobias Burnus burnus@gcc.gnu.org
Thu Mar 5 13:55:00 GMT 2020


https://gcc.gnu.org/g:fc628a1a08eaec2cf5594e3ec679f49e70a9e51e

commit fc628a1a08eaec2cf5594e3ec679f49e70a9e51e
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue Aug 20 22:40:37 2019 +0100

    Fix markdown in Doxygen comments for std::reduce
    
    	* include/std/numeric (reduce): Fix Doxygen markup.
    
    From-SVN: r274759

Diff:
---
 libstdc++-v3/ChangeLog           | 2 ++
 libstdc++-v3/include/std/numeric | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index d336874..3c6c145 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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>
 
diff --git a/libstdc++-v3/include/std/numeric b/libstdc++-v3/include/std/numeric
index 29d801d..87a50e5 100644
--- a/libstdc++-v3/include/std/numeric
+++ b/libstdc++-v3/include/std/numeric
@@ -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



More information about the Libstdc++-cvs mailing list