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