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

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

Public Types

using RawPointer = RAW_POINTER

Public Member Functions

constexpr ObjParam (RawPointer resource)
 Constructs from RawPointer.
constexpr ObjParam (std::nullptr_t=nullptr)
 Constructs null/invalid.
constexpr operator bool () const
 Converts to bool.
constexpr auto operator<=> (const ObjParam &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::ObjParam< RAW_POINTER >

Reference wrapper for a given resource,.


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