Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TContainerElementTypeCompatibility< InElementType > Struct Template Reference

#include <ContainerElementTypeCompatibility.h>

Public Types

typedef InElementType ReinterpretType
 
typedef InElementType CopyFromOtherType
 

Static Public Member Functions

template<typename IterBeginType , typename IterEndType , typename OperatorType = InElementType&(*)(IterBeginType&)>
static void ReinterpretRange (IterBeginType Iter, IterEndType IterEnd, OperatorType Operator=[](IterBeginType &InIt) -> InElementType &{ return *InIt;})
 
template<typename IterBeginType , typename IterEndType , typename SizeType , typename OperatorType = InElementType & (*)(IterBeginType&)>
static void ReinterpretRangeContiguous (IterBeginType Iter, IterEndType IterEnd, SizeType Size, OperatorType Operator=[](IterBeginType &InIt) -> InElementType &{ return *InIt;})
 
static constexpr void CopyingFromOtherType ()
 

Detailed Description

template<typename InElementType>
struct TContainerElementTypeCompatibility< InElementType >

Temporary compatibility mechanism to be used solely for the purpose of raw pointers to wrapped pointers. Specialization and use of this type is not supported beyond the specific instances in ObjectPtr.h. These types and the container methods that leverage them will be removed in a future release.

Definition at line 14 of file ContainerElementTypeCompatibility.h.

Member Typedef Documentation

◆ CopyFromOtherType

◆ ReinterpretType

Member Function Documentation

◆ CopyingFromOtherType()

template<typename InElementType >
static constexpr void TContainerElementTypeCompatibility< InElementType >::CopyingFromOtherType ( )
inlinestaticconstexpr

Definition at line 29 of file ContainerElementTypeCompatibility.h.

◆ ReinterpretRange()

template<typename InElementType >
template<typename IterBeginType , typename IterEndType , typename OperatorType = InElementType&(*)(IterBeginType&)>
static void TContainerElementTypeCompatibility< InElementType >::ReinterpretRange ( IterBeginType Iter,
IterEndType IterEnd,
OperatorType Operator = [](IterBeginTypeInIt) -> InElementType& { return *InIt; } )
inlinestatic

Definition at line 20 of file ContainerElementTypeCompatibility.h.

◆ ReinterpretRangeContiguous()

template<typename InElementType >
template<typename IterBeginType , typename IterEndType , typename SizeType , typename OperatorType = InElementType & (*)(IterBeginType&)>
static void TContainerElementTypeCompatibility< InElementType >::ReinterpretRangeContiguous ( IterBeginType Iter,
IterEndType IterEnd,
SizeType Size,
OperatorType Operator = [](IterBeginTypeInIt) -> InElementType& { return *InIt; } )
inlinestatic

Definition at line 25 of file ContainerElementTypeCompatibility.h.


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