Commit eb0e8589 by Jonathan Wakely Committed by Jonathan Wakely

Fix markdown in Doxygen comments for std::reduce

	* include/std/numeric (reduce): Fix Doxygen markup.

From-SVN: r274757
parent 72459cfd
2019-08-20 Jonathan Wakely <jwakely@redhat.com> 2019-08-20 Jonathan Wakely <jwakely@redhat.com>
* include/std/numeric (reduce): Fix Doxygen markup.
PR libstdc++/91371 PR libstdc++/91371
* include/std/type_traits (is_function): Simplify definition. Remove * include/std/type_traits (is_function): Simplify definition. Remove
partial specializations for function types. partial specializations for function types.
......
...@@ -288,7 +288,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -288,7 +288,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
* @return The final sum. * @return The final sum.
* *
* Reduce the values in the range `[first,last)` using addition. * 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> template<typename _InputIterator, typename _Tp>
inline _Tp inline _Tp
...@@ -304,7 +304,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -304,7 +304,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
* *
* Reduce the values in the range `[first,last)` using addition, with * Reduce the values in the range `[first,last)` using addition, with
* an initial value of `T{}`, where `T` is the iterator's value type. * 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> template<typename _InputIterator>
inline typename iterator_traits<_InputIterator>::value_type inline typename iterator_traits<_InputIterator>::value_type
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment