| title |
generate_n (STL/CLR) | Microsoft Docs |
| ms.custom |
|
| ms.date |
11/04/2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
|
| ms.tgt_pltfrm |
|
| ms.topic |
reference |
| f1_keywords |
|
| dev_langs |
|
| helpviewer_keywords |
generate_n function [STL/CLR] |
|
| ms.assetid |
2f56e649-7a6f-4861-ae49-d0b25f5cd50c |
| caps.latest.revision |
4 |
| author |
mikeblome |
| ms.author |
mblome |
| manager |
ghogen |
| translation.priority.ht |
cs-cz |
de-de |
es-es |
fr-fr |
it-it |
ja-jp |
ko-kr |
pl-pl |
pt-br |
ru-ru |
tr-tr |
zh-cn |
zh-tw |
|
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);
Remarks
This function behaves the same as the C++ Standard Library function generate_n. For more information, see generate_n.
Header: <cliext/algorithm>
Namespace: cliext
algorithm (STL/CLR)