UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TReversePointerIterator< T > Struct Template Reference

#include <ReverseIterate.h>

Public Member Functions

constexpr TReversePointerIterator (T *InPtr UE_LIFETIMEBOUND)
 
constexpr T & operator* () const
 
constexpr TReversePointerIteratoroperator++ ()
 
constexpr bool operator!= (const TReversePointerIterator &Rhs) const
 

Detailed Description

template<typename T>
struct TReversePointerIterator< T >

Pointer-like reverse iterator type.

Constructor & Destructor Documentation

◆ TReversePointerIterator()

template<typename T >
constexpr TReversePointerIterator< T >::TReversePointerIterator ( T *InPtr  UE_LIFETIMEBOUND)
inlineexplicitconstexpr

Constructor for TReversePointerIterator.

Parameters
InPtrA pointer to the location after the element being referenced.
Note
Like std::reverse_iterator, this points to one past the element being referenced. Therefore, for an array of size N starting at P, the begin iterator should be constructed at (P+N) and the end iterator should be constructed at P.

Member Function Documentation

◆ operator!=()

template<typename T >
constexpr bool TReversePointerIterator< T >::operator!= ( const TReversePointerIterator< T > &  Rhs) const
inlineconstexpr

◆ operator*()

template<typename T >
constexpr T & TReversePointerIterator< T >::operator* ( ) const
inlineconstexpr

◆ operator++()

template<typename T >
constexpr TReversePointerIterator & TReversePointerIterator< T >::operator++ ( )
inlineconstexpr

The documentation for this struct was generated from the following file: