You.i Engine
YiAny.h File Reference
#include "framework/YiPredef.h"
#include "utility/YiError.h"
#include "framework/YiAny.inl"

Go to the source code of this file.

Classes

class  CYIAny
 A class that holds instances of any type that is copy-constructible. More...
 

Macros

#define YI_ANY_STORAGE_SIZE   (sizeof(float) * 3)
 

Functions

template<typename T >
std::decay_t< T > & AnyCast (CYIAny &any)
 
template<typename T >
const std::decay_t< T > & AnyCast (const CYIAny &any)
 
template<typename T >
std::decay_t< T > * AnyCast (CYIAny *pAny)
 
template<typename T >
const std::decay_t< T > * AnyCast (const CYIAny *pAny)
 

Macro Definition Documentation

◆ YI_ANY_STORAGE_SIZE

#define YI_ANY_STORAGE_SIZE   (sizeof(float) * 3)