SDL3pp
A slim C++ wrapper for SDL3
All Classes Namespaces Functions Variables Typedefs Modules Pages Concepts
Public Member Functions | List of all members
SDL::OptionalResource< REF, UNIQUE > Class Template Reference

A optional reference to resource. More...

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

Public Member Functions

constexpr OptionalResource (const REF &other)
 Constructs from a reference.
 
constexpr OptionalResource (const UNIQUE &other)
 Constructs from a reference.
 
constexpr OptionalResource (UNIQUE &&other)
 Constructs from a moved from unique.
 
 OptionalResource (const OptionalResource &other)=delete
 
 OptionalResource (OptionalResource &&other)
 Move ctor.
 
OptionalResourceoperator= (const OptionalResource &other)=delete
 
OptionalResourceoperator= (OptionalResource &&other)
 Assignment operator.
 
 ~OptionalResource ()
 Destructor.
 

Detailed Description

template<class REF, class UNIQUE>
class SDL::OptionalResource< REF, UNIQUE >

This is meant to be aliased like this:

A optional reference to resource.
Definition SDL3pp_resource.h:88
Template Parameters
REFthe *Type*Ref.
UNIQUEthe Type.

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