[PATCH] Fix markdown in Doxygen comments for std::reduce
Jonathan Wakely
jwakely@redhat.com
Tue Aug 20 21:34:00 GMT 2019
* include/std/numeric (reduce): Fix Doxygen markup.
Committed to trunk.
-------------- next part --------------
commit eb08c33dadf6f53fa202aaddea5c68a01b83987a
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Tue Aug 20 22:27:19 2019 +0100
Fix markdown in Doxygen comments for std::reduce
* include/std/numeric (reduce): Fix Doxygen markup.
diff --git a/libstdc++-v3/include/std/numeric b/libstdc++-v3/include/std/numeric
index 2f9462183dd..239276946b5 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++
mailing list