Adjust doxygen comment for std::generate_n

* include/bits/stl_algo.h (generate_n): Adjust doxygen comment.

From-SVN: r270651
This commit is contained in:
Jonathan Wakely 2019-04-29 14:31:50 +01:00 committed by Jonathan Wakely
parent 81912fb385
commit f373ad68cf
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2019-04-29 Jonathan Wakely <jwakely@redhat.com>
* include/bits/stl_algo.h (generate_n): Adjust doxygen comment.
* include/bits/move.h (swap(T&, T&), swap(T (&)[N], T (&)[N])): Use
_GLIBCXX_NOEXCEPT_IF to simplify declarations.

View File

@ -4433,7 +4433,7 @@ _GLIBCXX_BEGIN_NAMESPACE_ALGO
* Performs the assignment @c *i = @p __gen() for each @c i in the range
* @p [__first,__first+__n).
*
* If @p __n is negative, the function does nothing.
* If @p __n is negative, the function does nothing and returns @p __first.
*/
// _GLIBCXX_RESOLVE_LIB_DEFECTS
// DR 865. More algorithms that throw away information