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