Share via


generate (STL/CLR)

Assigns the values generated by a function object to each element in a range.

template<class _FwdIt, class _Fn0> inline
    void generate(_FwdIt _First, _FwdIt _Last, _Fn0 _Func);

Remarks

This function behaves the same as the STL function generate. For more information, see generate.

Requirements

Header: <cliext/algorithm>

Namespace: cliext

See Also

Reference

algorithm (STL/CLR)