Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.79 KB

File metadata and controls

43 lines (31 loc) · 1.79 KB
title unchecked_array_iterator Class | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.technology
cpp-standard-libraries
ms.topic reference
f1_keywords
stdext::unchecked_array_iterator
dev_langs
C++
ms.assetid 693b3b30-4e3a-465b-be06-409700bc50b1
author corob-msft
ms.author corob
ms.workload
cplusplus

unchecked_array_iterator Class

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 of the C++ Standard Library. Code implemented by using this function is not portable to C++ Standard build environments that do not support this Microsoft extension.

Syntax

template <class Iterator>
class unchecked_array_iterator;

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 with code examples, see Checked Iterators.

Requirements

Header: <iterator>

Namespace: stdext

See also

<iterator>
C++ Standard Library Reference