neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::any_ref Class Reference

#include <any_ref.hpp>

Public Member Functions

 any_ref ()
 
template<typename T >
 any_ref (T &aObject)
 
 any_ref (const any_ref &aOther)
 
 any_ref (any_ref &aOther)
 
 ~any_ref ()
 
any_refoperator= (const any_ref &aOther)
 
template<typename T >
 operator T& () const
 
template<typename T >
bool is () const
 
bool something () const
 
bool empty () const
 
void reset ()
 

Friends

class any_const_ref
 

Detailed Description

Definition at line 138 of file any_ref.hpp.

Constructor & Destructor Documentation

◆ any_ref() [1/4]

neolib::any_ref::any_ref ( )
inline

Definition at line 143 of file any_ref.hpp.

◆ any_ref() [2/4]

template<typename T >
neolib::any_ref::any_ref ( T aObject)
inline

Definition at line 145 of file any_ref.hpp.

◆ any_ref() [3/4]

neolib::any_ref::any_ref ( const any_ref aOther)
inline

Definition at line 146 of file any_ref.hpp.

◆ any_ref() [4/4]

neolib::any_ref::any_ref ( any_ref aOther)
inline

Definition at line 147 of file any_ref.hpp.

◆ ~any_ref()

neolib::any_ref::~any_ref ( )
inline

Definition at line 148 of file any_ref.hpp.

Member Function Documentation

◆ empty()

bool neolib::any_ref::empty ( ) const
inline

Definition at line 163 of file any_ref.hpp.

◆ is()

template<typename T >
bool neolib::any_ref::is ( ) const
inline

Definition at line 161 of file any_ref.hpp.

◆ operator T&()

template<typename T >
neolib::any_ref::operator T& ( ) const
inline

Definition at line 159 of file any_ref.hpp.

◆ operator=()

any_ref & neolib::any_ref::operator= ( const any_ref aOther)
inline

Definition at line 149 of file any_ref.hpp.

◆ reset()

void neolib::any_ref::reset ( )
inline

Definition at line 164 of file any_ref.hpp.

◆ something()

bool neolib::any_ref::something ( ) const
inline

Definition at line 162 of file any_ref.hpp.

Friends And Related Symbol Documentation

◆ any_const_ref

Definition at line 140 of file any_ref.hpp.

Member Data Documentation

◆ alignTo

std::max_align_t neolib::any_ref::alignTo

Definition at line 172 of file any_ref.hpp.

◆ iBytes

char neolib::any_ref::iBytes[sizeof(any_ref_holder< char >)]

Definition at line 173 of file any_ref.hpp.


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