FTXUI  5.0.0
C++ functional terminal UI.
Ref< T > Class Template Reference

An adapter. Own or reference an mutable object. More...

Public Member Functions

 Ref ()=default
 
 Ref (const Ref< T > &)=default
 
 Ref (Ref< T > &&)=default
 
 Ref (T t)
 
 Ref (T *t)
 
Ref< T > & operator= (const Ref< T > &)=default
 
T & operator() ()
 
T & operator* ()
 
T * operator-> ()
 
const T & operator() () const
 
const T & operator* () const
 
const T * operator-> () const
 

Detailed Description

template<typename T>
class ftxui::Ref< T >

An adapter. Own or reference an mutable object.

Definition at line 42 of file ref.hpp.

Constructor & Destructor Documentation

◆ Ref() [1/5]

Ref ( )
default

◆ Ref() [2/5]

Ref ( const Ref< T > &  )
default

◆ Ref() [3/5]

Ref ( Ref< T > &&  )
default

◆ Ref() [4/5]

Ref ( t)
inline

Definition at line 47 of file ref.hpp.

◆ Ref() [5/5]

Ref ( T *  t)
inline

Definition at line 48 of file ref.hpp.

Member Function Documentation

◆ operator=()

Ref<T>& operator= ( const Ref< T > &  )
default

◆ operator()() [1/2]

T& operator() ( )
inline

Definition at line 54 of file ref.hpp.

◆ operator*() [1/2]

T& operator* ( )
inline

Definition at line 55 of file ref.hpp.

◆ operator->() [1/2]

T* operator-> ( )
inline

Definition at line 56 of file ref.hpp.

◆ operator()() [2/2]

const T& operator() ( ) const
inline

Definition at line 57 of file ref.hpp.

◆ operator*() [2/2]

const T& operator* ( ) const
inline

Definition at line 58 of file ref.hpp.

◆ operator->() [2/2]

const T* operator-> ( ) const
inline

Definition at line 59 of file ref.hpp.


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