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