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