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

Safely wrap Text for non owning const parameters.

Public Member Functions

constexpr TextConstParam (const TextRaw value)
 Constructs from const TextRaw.
 
constexpr TextConstParam (TextParam value)
 Constructs from TextParam.
 
constexpr TextConstParam (std::nullptr_t _=nullptr)
 Constructs null/invalid.
 
constexpr operator bool () const
 Converts to bool.
 
constexpr auto operator<=> (const TextConstParam &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: