Navigation
API > API/Runtime > API/Runtime/Core
Pointer-like iterator type for ranged-for loops which checks that the container hasn't been resized during iteration.
| Name | TCheckedPointerIterator |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
Syntax
template<typename ElementType, typename SizeType, bool bReverse>
struct TCheckedPointerIterator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TCheckedPointerIterator
(
const SizeType& InNum, |
This iterator type only supports the minimal functionality needed to support C++ ranged-for syntax. | Containers/Array.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentNum | const SizeType & | Containers/Array.h | ||
| InitialNum | SizeType | Containers/Array.h | ||
| Ptr | ElementType * | Containers/Array.h |
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TCheckedPointerIterator & operator--() |
Containers/Array.h | ||
bool operator!=
(
const TCheckedPointerIterator& Rhs |
Containers/Array.h | ||
ElementType & operator*() |
Containers/Array.h | ||
TCheckedPointerIterator & operator++() |
Containers/Array.h |