TCheckedPointerIterator

Pointer-like iterator type for ranged-for loops which checks that the container hasn't been resized during iteration.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/Array.h

Include

#include "Containers/Array.h"

Syntax

template<typename ElementType, typename SizeType>
struct TCheckedPointerIterator

Remarks

Pointer-like iterator type for ranged-for loops which checks that the container hasn't been resized during iteration.

Constructors

Name Description

Public function

TCheckedPointerIterator

(
    const SizeType& InNum,
    ElementType* InPtr
)

This iterator type only supports the minimal functionality needed to support C++ ranged-for syntax.

Operators

Name Description

Public function

TCheckedPoin...

 

operator--()

Public function Const

ElementType ...

 

operator*()

Public function

TCheckedPoin...

 

operator++()