Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
TPointerIsConvertibleFromTo< From, To > Struct Template Reference

#include <PointerIsConvertibleFromTo.h>

Public Types

enum  { Value = sizeof(Test((From*)nullptr)) - 1 }
 

Static Private Member Functions

static uint8 Test (...)
 
static uint16 Test (To *)
 

Detailed Description

template<typename From, typename To>
struct TPointerIsConvertibleFromTo< From, To >

Tests if a From* is convertible to a To*

Definition at line 11 of file PointerIsConvertibleFromTo.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename From , typename To >
anonymous enum
Enumerator
Value 

Definition at line 18 of file PointerIsConvertibleFromTo.h.

Member Function Documentation

◆ Test() [1/2]

template<typename From , typename To >
static uint8 TPointerIsConvertibleFromTo< From, To >::Test ( ...)
staticprivate

◆ Test() [2/2]

template<typename From , typename To >
static uint16 TPointerIsConvertibleFromTo< From, To >::Test ( To * )
staticprivate

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