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

Safely wrap Text for non owning const parameters.

Public Member Functions

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

Public Attributes

const TextRaw value
 parameter's const TextRaw
 

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