ForwardRef< T > Class Template Reference

#include <forwardref.h>

Public Types

using IsForwardRef = T
 

Public Member Functions

 ForwardRef ()=default
 
MAXON_IMPLICIT ForwardRef (const T &t)
 
MAXON_IMPLICIT ForwardRef (T &&t)
 
ForwardRefoperator= (const T &t)
 
ForwardRefoperator= (T &&t)
 
ForwardRefoperator= (std::nullptr_t)
 
 operator const T & () const
 
 operator T & ()
 
 operator Bool () const
 
const T & Get () const
 
T & Get ()
 

Private Attributes

StrongRef< const ObjectInterface_value
 

Member Typedef Documentation

◆ IsForwardRef

using IsForwardRef = T

Constructor & Destructor Documentation

◆ ForwardRef() [1/3]

ForwardRef ( )
default

◆ ForwardRef() [2/3]

MAXON_IMPLICIT ForwardRef ( const T &  t)

◆ ForwardRef() [3/3]

Member Function Documentation

◆ operator=() [1/3]

ForwardRef& operator= ( const T &  t)

◆ operator=() [2/3]

ForwardRef& operator= ( T &&  t)

◆ operator=() [3/3]

ForwardRef& operator= ( std::nullptr_t  )

◆ operator const T &()

operator const T & ( ) const

◆ operator T &()

operator T& ( )

◆ operator Bool()

operator Bool ( ) const
explicit

◆ Get() [1/2]

const T& Get ( void  ) const

◆ Get() [2/2]

T& Get ( void  )

Member Data Documentation

◆ _value

StrongRef<const ObjectInterface> _value
private