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