ftxui::StringRef
cpp
#include <ftxui/util/ref.hpp>An adapter. Own or reference a constant string. For convenience, this class convert multiple mutable string toward a shared representation.
Summary
| Symbol | Description |
|---|---|
StringRef | |
operator* | |
operator-> |
Public Member Functions
StringRef
cpp
StringRef(std::string * ref);StringRef
cpp
StringRef(std::string ref);StringRef
cpp
StringRef(const wchar_t * ref);StringRef
cpp
StringRef(const char * ref);operator*
cpp
std::string & operator*();operator->
cpp
std::string * operator->();