cpp/algorithm/ranges/generate

@1@ Assigns the result of successive invocations of the function object to each element in the range.

@2@ Same as, but uses as the range, as if using  as  and  as.

Return value
An output iterator that compares equal to.

Complexity
Exactly invocations of  and assignments.