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

Deleter type for non-opaque once-derived object types from 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, void(*)(detail::BaseType_t< Derived > **) DeleterFn>
struct xrt::deleters::base_ptr_ptr_deleter< Derived, DeleterFn >

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

Wraps the type and the interface destroy function for use with std::unique_ptr (interface type deduced)


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