Monado OpenXR Runtime
|
Generic deleter functors for the variety of interface/object types in Monado. More...
Data Structures | |
struct | ptr_deleter |
Deleter type for interfaces with destroy functions that take just pointers. More... | |
struct | ptr_ptr_deleter |
Deleter type for interfaces with destroy functions that take pointers to interface pointers (so they may be zeroed). More... | |
struct | reference_deleter |
Deleter type for ref-counted interfaces with two-parameter reference(dest, src) functions. More... | |
Generic deleter functors for the variety of interface/object types in Monado.
Use these with std::unique_ptr to make per-interface type aliases for unique ownership. These are stateless deleters whose function pointer is statically specified as a template argument.