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

#include <CoreNet.h>

Public Member Functions

 TNetDoNotCopyPtr ()
 
 TNetDoNotCopyPtr (const TNetDoNotCopyPtr &)
 
 TNetDoNotCopyPtr (TNetDoNotCopyPtr &&)
 
TNetDoNotCopyPtroperator= (const TNetDoNotCopyPtr &Other)
 
TNetDoNotCopyPtroperator= (TNetDoNotCopyPtr &&)
 
void Set (T *InPtr)
 
T * Get () const
 

Detailed Description

template<typename T>
class TNetDoNotCopyPtr< T >

Used to pass in temporary pointers to NetBitWriter which we absolutely need to avoid copying by acciden. Used by NetTraceCollector and NetTokenExport scope

Constructor & Destructor Documentation

◆ TNetDoNotCopyPtr() [1/3]

template<typename T >
TNetDoNotCopyPtr< T >::TNetDoNotCopyPtr ( )
inline

◆ TNetDoNotCopyPtr() [2/3]

template<typename T >
TNetDoNotCopyPtr< T >::TNetDoNotCopyPtr ( const TNetDoNotCopyPtr< T > &  )
inline

◆ TNetDoNotCopyPtr() [3/3]

template<typename T >
TNetDoNotCopyPtr< T >::TNetDoNotCopyPtr ( TNetDoNotCopyPtr< T > &&  )
inline

Member Function Documentation

◆ Get()

template<typename T >
T * TNetDoNotCopyPtr< T >::Get ( ) const
inline

◆ operator=() [1/2]

template<typename T >
TNetDoNotCopyPtr & TNetDoNotCopyPtr< T >::operator= ( const TNetDoNotCopyPtr< T > &  Other)
inline

◆ operator=() [2/2]

template<typename T >
TNetDoNotCopyPtr & TNetDoNotCopyPtr< T >::operator= ( TNetDoNotCopyPtr< T > &&  )
inline

◆ Set()

template<typename T >
void TNetDoNotCopyPtr< T >::Set ( T *  InPtr)
inline

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