Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The unchecked_array_iterator class allows you to wrap an array or pointer into an unchecked iterator. Use this class as a wrapper (using the make_unchecked_array_iterator() function) for raw pointers or arrays as a targeted way to manage unchecked pointer warnings instead of globally silencing these warnings. If possible, prefer the checked version of this class, checked_array_iterator.
Note
This class is a Microsoft extension to the Standard C++ Library. Code implemented using this algorithm will not be portable.
template <class _Iterator>
class unchecked_array_iterator
: public iterator<
typename iterator_traits<_Iterator>::iterator_category,
typename iterator_traits<_Iterator>::value_type,
typename iterator_traits<_Iterator>::difference_type,
typename iterator_traits<_Iterator>::pointer,
typename iterator_traits<_Iterator>::reference>
Remarks
This class is defined in the stdext namespace.
This is the unchecked version of the checked_array_iterator Class and supports all the same overloads and members. For more information on the checked iterator feature, see Checked Iterators.
Requirements
Header: <iterator>
Namespace: stdext