Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Same as uninitialized_fill_n but enforces the use of a checked iterator as output iterator (_First). checked_uninitialized_fill_n is defined in the stdext namespace.
Hinweis
This algorithm is a Microsoft extension to the Standard C++ Library. Code implemented using this algorithm will not be portable.
template<class FwdIt, class Size, class Type>
void checked_uninitialized_fill_n(
ForwardIterator _First,
Size _Count,
const Type& _Val
);
template<class FwdIt, class Size, class Type, class Allocator>
void checked_uninitialized_fill_n(
ForwardIterator _First,
Size _Count,
const Type& _Val,
Allocator& _Al
);
Parameters
_Al
The allocator class to use with this object. vector::get_allocator returns the allocator class for the object._First
A forward iterator addressing the first element in the destination range to be initiated._Count
The number of elements to be initialized._Val
The value to be used to initialize the destination range.
Remarks
See uninitialized_fill_n for a code sample.
For more information on checked iterators, see Checked Iterators.
Requirements
Header: <memory>
Namespace: stdext