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

#include <RecastAlloc.h>

Public Member Functions

 rcScopedStructArrayDelete (const int n)
 Constructs an array of instances of T.
 
 ~rcScopedStructArrayDelete ()
 
 operator T* ()
 

Detailed Description

template<class T>
class rcScopedStructArrayDelete< T >

A simple helper class used to delete an array of instances of structs, that require cleaning up by calling destructor on every instance before release. Releasing is taking place when rcScopedStructArrayDelete instance goes out of scope.

Note
if T doesn't require a destructor to be called use rcScopedDelete instead.

Constructor & Destructor Documentation

◆ rcScopedStructArrayDelete()

template<class T >
rcScopedStructArrayDelete< T >::rcScopedStructArrayDelete ( const int  n)
inline

Constructs an array of instances of T.

◆ ~rcScopedStructArrayDelete()

template<class T >
rcScopedStructArrayDelete< T >::~rcScopedStructArrayDelete ( )
inline

Member Function Documentation

◆ operator T*()

template<class T >
rcScopedStructArrayDelete< T >::operator T* ( )
inline

The root array pointer.

Returns
The root array pointer.

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