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