SDL3pp
A slim C++ wrapper for SDL3
Loading...
Searching...
No Matches
SDL::ResourceLegacyRef< RAW_POINTER > Class Template Reference

Reference wrapper for a given resource,. More...

Public Types

using RawPointer = RAW_POINTER
 The underlying raw pointer type.

Public Member Functions

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

Detailed Description

template<typename RAW_POINTER>
class SDL::ResourceLegacyRef< RAW_POINTER >

Reference wrapper for a given resource,.


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