Skip to content
You are viewing documentation for v6.1.6. Switch to latest (main).

ftxui::ConstRef ​

cpp
#include <ftxui/util/ref.hpp>

An adapter. Own or reference an immutable object.

Summary ​

SymbolDescription
ConstRef
operator=
~ConstRef
operator()
operator*
operator->

Public Member Functions ​

ConstRef ​

cpp
ConstRef();

ConstRef ​

cpp
ConstRef(T t);

ConstRef ​

cpp
ConstRef(const T * t);

operator= ​

cpp
ConstRef & operator=(ConstRef &&);

ConstRef ​

cpp
ConstRef(const ConstRef< T > &);

ConstRef ​

cpp
ConstRef(ConstRef< T > &&);

~ConstRef ​

cpp
~ConstRef();

operator= ​

cpp
ConstRef< T > & operator=(const ConstRef< T > &);

operator() ​

cpp
const T & operator()() const;

operator* ​

cpp
const T & operator*() const;

operator-> ​

cpp
const T * operator->() const;