unchecked_array_iterator Class


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at 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.

System_CAPS_ICON_note.jpg Note

This class is a Microsoft extension of the Standard C++ Library. Code implemented by using this function is not portable to C++ Standard build environments that do not support this Microsoft extension.

template <class Iterator>  
class unchecked_array_iterator;

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.

Header: <iterator>

Namespace: stdext

Standard Template Library