TCheckedPointerIterator

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

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++()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss