Monado OpenXR Runtime
Loading...
Searching...
No Matches
xrt::deleters::cast_ptr_ptr_deleter< Derived, T, DeleterFn > Struct Template Reference

Deleter type for opaque object types for interfaces with destroy functions that take pointers to interface pointers (so they may be zeroed). More...

#include <xrt/xrt_deleters.hpp>

Public Member Functions

void operator() (Derived *obj) const noexcept
 

Detailed Description

template<typename Derived, typename T, void(*)(T **) DeleterFn>
struct xrt::deleters::cast_ptr_ptr_deleter< Derived, T, DeleterFn >

Deleter type for opaque object types for interfaces with destroy functions that take pointers to interface pointers (so they may be zeroed).

Wraps the types and the interface destroy function for use with std::unique_ptr


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