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