Commit f373ad68 by Jonathan Wakely Committed by Jonathan Wakely

Adjust doxygen comment for std::generate_n

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

From-SVN: r270651
parent 81912fb3
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.
......
......@@ -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
......
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