generate_n (STL/CLR)
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at generate_n (STL/CLR).
Assigns the values generated by a function object to a specified number of element is a range and returns to the position one past the last assigned value.
template<class _OutIt, class _Diff, class _Fn0> inline
void generate_n(_OutIt _Dest, _Diff _Count, _Fn0 _Func);
This function behaves the same as the STL function generate_n. For more information, see generate_n.
Header: <cliext/algorithm>
Namespace: cliext
Show: