Skip to content

Latest commit

 

History

History
56 lines (50 loc) · 1.28 KB

generate-n-stl-clr.md

File metadata and controls

56 lines (50 loc) · 1.28 KB
title generate_n (STL/CLR) | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic reference
f1_keywords
cliext::generate_n
dev_langs
C++
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

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.

Syntax

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.

Requirements

Header: <cliext/algorithm>

Namespace: cliext

See Also

algorithm (STL/CLR)