CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::Any Class Reference

#include <CeresEngine/Foundation/Any.hpp>

Inheritance diagram for CeresEngine::Any:

Public Member Functions

 operator bool () const noexcept
 
template<typename T >
bool is () const
 
template<typename T >
const Tget () const &
 
template<typename T >
Tget () &
 
template<typename T >
T && get () &&
 
template<typename T >
const TgetIf () const &
 
template<typename T >
TgetIf () &
 

Private Types

using super = std::any
 

Member Typedef Documentation

◆ super

using CeresEngine::Any::super = std::any
private

Member Function Documentation

◆ get() [1/3]

template<typename T >
T & CeresEngine::Any::get ( ) &
inline

◆ get() [2/3]

template<typename T >
T && CeresEngine::Any::get ( ) &&
inline

◆ get() [3/3]

template<typename T >
const T & CeresEngine::Any::get ( ) const &
inline

◆ getIf() [1/2]

template<typename T >
T * CeresEngine::Any::getIf ( ) &
inline

◆ getIf() [2/2]

template<typename T >
const T * CeresEngine::Any::getIf ( ) const &
inline

◆ is()

template<typename T >
bool CeresEngine::Any::is ( ) const
inline

◆ operator bool()

CeresEngine::Any::operator bool ( ) const
inlineexplicitnoexcept

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