ftxui::ConstStringRef
cpp
#include <ftxui/util/ref.hpp>Inherits from: ftxui::ConstRef< std::string >
An adapter. Own or reference a constant string. For convenience, this class convert multiple immutable string toward a shared representation.
Summary
| Symbol | Description |
|---|---|
ConstStringRef |
Public Member Functions
ConstStringRef
cpp
ConstStringRef(const std::wstring * ref);ConstStringRef
cpp
ConstStringRef(const std::wstring ref);ConstStringRef
cpp
ConstStringRef(std::wstring_view ref);ConstStringRef
cpp
ConstStringRef(const wchar_t * ref);ConstStringRef
cpp
ConstStringRef(const char * ref);ConstStringRef
cpp
ConstStringRef(std::string_view ref);