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