Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TIsValidVariadicFunctionArg< T, bool > Struct Template Reference

#include <IsValidVariadicFunctionArg.h>

Public Types

enum  { Value = sizeof(Tester(DeclValT())) == sizeof(uint32) }
 

Static Private Member Functions

static uint32 Tester (uint32)
 
static uint32 Tester (uint8)
 
static uint32 Tester (int32)
 
static uint32 Tester (uint64)
 
static uint32 Tester (int64)
 
static uint32 Tester (double)
 
static uint32 Tester (long)
 
static uint32 Tester (unsigned long)
 
static uint32 Tester (TCHAR)
 
static uint32 Tester (bool)
 
static uint32 Tester (const void *)
 
static uint8 Tester (...)
 
static T DeclValT ()
 

Detailed Description

template<typename T, bool = TIsEnum<T>::Value>
struct TIsValidVariadicFunctionArg< T, bool >

Tests if a type is a valid argument to a variadic function, e.g. printf.

Definition at line 12 of file IsValidVariadicFunctionArg.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename T , bool = TIsEnum<T>::Value>
anonymous enum
Enumerator
Value 

Definition at line 31 of file IsValidVariadicFunctionArg.h.

Member Function Documentation

◆ DeclValT()

template<typename T , bool = TIsEnum<T>::Value>
static T TIsValidVariadicFunctionArg< T, bool >::DeclValT ( )
staticprivate

◆ Tester() [1/12]

template<typename T , bool = TIsEnum<T>::Value>
static uint8 TIsValidVariadicFunctionArg< T, bool >::Tester ( ...)
staticprivate

◆ Tester() [2/12]

template<typename T , bool = TIsEnum<T>::Value>
static uint32 TIsValidVariadicFunctionArg< T, bool >::Tester ( bool )
staticprivate

◆ Tester() [3/12]

template<typename T , bool = TIsEnum<T>::Value>
static uint32 TIsValidVariadicFunctionArg< T, bool >::Tester ( const void * )
staticprivate

◆ Tester() [4/12]

template<typename T , bool = TIsEnum<T>::Value>
static uint32 TIsValidVariadicFunctionArg< T, bool >::Tester ( double )
staticprivate

◆ Tester() [5/12]

template<typename T , bool = TIsEnum<T>::Value>
static uint32 TIsValidVariadicFunctionArg< T, bool >::Tester ( int32 )
staticprivate

◆ Tester() [6/12]

template<typename T , bool = TIsEnum<T>::Value>
static uint32 TIsValidVariadicFunctionArg< T, bool >::Tester ( int64 )
staticprivate

◆ Tester() [7/12]

template<typename T , bool = TIsEnum<T>::Value>
static uint32 TIsValidVariadicFunctionArg< T, bool >::Tester ( long )
staticprivate

◆ Tester() [8/12]

template<typename T , bool = TIsEnum<T>::Value>
static uint32 TIsValidVariadicFunctionArg< T, bool >::Tester ( TCHAR )
staticprivate

◆ Tester() [9/12]

template<typename T , bool = TIsEnum<T>::Value>
static uint32 TIsValidVariadicFunctionArg< T, bool >::Tester ( uint32 )
staticprivate

◆ Tester() [10/12]

template<typename T , bool = TIsEnum<T>::Value>
static uint32 TIsValidVariadicFunctionArg< T, bool >::Tester ( uint64 )
staticprivate

◆ Tester() [11/12]

template<typename T , bool = TIsEnum<T>::Value>
static uint32 TIsValidVariadicFunctionArg< T, bool >::Tester ( uint8 )
staticprivate

◆ Tester() [12/12]

template<typename T , bool = TIsEnum<T>::Value>
static uint32 TIsValidVariadicFunctionArg< T, bool >::Tester ( unsigned long )
staticprivate

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