From: redi Date: Tue, 20 Aug 2019 21:34:15 +0000 (+0000) Subject: Fix markdown in Doxygen comments for std::reduce X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=404ca40db24e3c1d76aae3d82349c94cb2869015;p=thirdparty%2Fgcc.git Fix markdown in Doxygen comments for std::reduce * include/std/numeric (reduce): Fix Doxygen markup. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@274757 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 0717400f9576..7e2fcf03a09c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,7 @@ 2019-08-20 Jonathan Wakely + * 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 2f9462183dda..239276946b5e 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 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 inline typename iterator_traits<_InputIterator>::value_type