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

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

Public Member Functions

 Ref ()
 
 Ref (T t)
 
 Ref (T *t)
 
T & operator* ()
 
T & operator() ()
 
T * operator-> ()
 

Detailed Description

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

An adapter. Own or reference an mutable object.

Definition at line 27 of file ref.hpp.

Constructor & Destructor Documentation

◆ Ref() [1/3]

Ref ( )
inline

Definition at line 29 of file ref.hpp.

◆ Ref() [2/3]

Ref ( t)
inline

Definition at line 30 of file ref.hpp.

◆ Ref() [3/3]

Ref ( T *  t)
inline

Definition at line 31 of file ref.hpp.

Member Function Documentation

◆ operator*()

T& operator* ( )
inline

Definition at line 32 of file ref.hpp.

◆ operator()()

T& operator() ( )
inline

Definition at line 33 of file ref.hpp.

◆ operator->()

T* operator-> ( )
inline

Definition at line 34 of file ref.hpp.


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