ForwardRef< T > Class Template Reference

#include <forwardref.h>

Public Types

using  IsForwardRef = T

公共成员函数

  ForwardRef ()=default
MAXON_IMPLICIT   ForwardRef (const T &t)
MAXON_IMPLICIT   ForwardRef (T &&t)
ForwardRef operator= (const T &t)
ForwardRef operator= (T &&t)
ForwardRef operator= (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

构造函数 & 析构函数文档编制

◆  ForwardRef() [1/3]

ForwardRef ( )
default

◆  ForwardRef() [2/3]

MAXON_IMPLICIT ForwardRef ( const T &  t )

◆  ForwardRef() [3/3]

MAXON_IMPLICIT ForwardRef ( T &&  t )

成员函数文档编制

◆  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 ( ) const

◆  Get() [2/2]

T& Get ( )

Member Data Documentation

◆  _value

StrongRef <const ObjectInterface > _value
private