aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-08-20 22:34:15 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2019-08-20 22:34:15 +0100
commiteb0e8589451aa13b14e0af0f66ba2cabe7698012 (patch)
treedcfd07be37e26bd1de6bfc4b1834788f97db5ccc
parent72459cfd86389ead7ce0cdd09a3d272684105874 (diff)
downloadgcc-eb0e8589451aa13b14e0af0f66ba2cabe7698012.zip
gcc-eb0e8589451aa13b14e0af0f66ba2cabe7698012.tar.gz
gcc-eb0e8589451aa13b14e0af0f66ba2cabe7698012.tar.bz2
Fix markdown in Doxygen comments for std::reduce
* include/std/numeric (reduce): Fix Doxygen markup. From-SVN: r274757
-rw-r--r--libstdc++-v3/ChangeLog2
-rw-r--r--libstdc++-v3/include/std/numeric4
2 files changed, 4 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 0717400..7e2fcf0 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.
+
PR libstdc++/91371
* include/std/type_traits (is_function): Simplify definition. Remove
partial specializations for function types.
diff --git a/libstdc++-v3/include/std/numeric b/libstdc++-v3/include/std/numeric
index 2f94621..2392769 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