SDL3pp
A slim C++ wrapper for SDL3
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SDL::PaletteConstRef Struct Reference

Safely wrap Palette for non owning const parameters.

Public Member Functions

constexpr PaletteConstRef (const PaletteRaw value)
 Constructs from const PaletteRaw.
 
constexpr PaletteConstRef (std::nullptr_t=nullptr)
 Constructs null/invalid.
 
constexpr operator bool () const
 Converts to bool.
 
constexpr auto operator<=> (const PaletteConstRef &other) const =default
 Comparison.
 
constexpr operator const PaletteRaw () const
 Converts to underlying const PaletteRaw.
 
constexpr auto operator-> ()
 member access to underlying PaletteRaw.
 

Public Attributes

const PaletteRaw value
 parameter's const PaletteRaw
 

The documentation for this struct was generated from the following file: