SDL3pp
A slim C++ wrapper for SDL3
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SDL::DetachedResource< REF, UNIQUE > Struct Template Reference

A detached reference to resource that might be transformed into an owned handle. More...

Inheritance diagram for SDL::DetachedResource< REF, UNIQUE >:
Inheritance graph
[legend]

Public Member Functions

 DetachedResource (const DetachedResource &other)=delete
 
constexpr DetachedResource (DetachedResource &&other)
 Move ctor.
 
DetachedResourceoperator= (const DetachedResource &other)=delete
 
constexpr DetachedResourceoperator= (DetachedResource &&other)
 Move assignment.
 
 operator UNIQUE ()
 Converts to UNIQUE.
 

Detailed Description

template<class REF, class UNIQUE>
struct SDL::DetachedResource< REF, UNIQUE >

This is meant to be aliased like this:

A detached reference to resource that might be transformed into an owned handle.
Definition SDL3pp_resource.h:156
Template Parameters
REFthe *Type*Ref.
UNIQUEthe Type.

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