cpp/algorithm/generate

@1@ Assigns each element in range a value generated by the given function object. @2@ Same as, but executed according to.

Return value
(none)

Complexity
Exactly invocations of  and assignments.