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