SDL3pp
A slim C++ wrapper for SDL3
|
Safely wrap Text for non owning parameters.
Public Member Functions | |
constexpr | TextParam (TextRaw value) |
Constructs from TextRaw. | |
constexpr | TextParam (std::nullptr_t _=nullptr) |
Constructs null/invalid. | |
constexpr | operator bool () const |
Converts to bool. | |
constexpr auto | operator<=> (const TextParam &other) const =default |
Comparison. | |
constexpr | operator TextRaw () const |
Converts to underlying TextRaw. | |
Public Attributes | |
TextRaw | value |
parameter's TextRaw | |