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

Deleter type 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() (T *obj) const noexcept
 

Detailed Description

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

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

Wraps the type and the destroy function for use with std::unique_ptr


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