Public Member Functions | |
UniqueVoidPtr (void *data) | |
UniqueVoidPtr (void *data, void *ctx, DeleterFnPtr ctx_deleter) | |
void * | operator-> () const |
void | clear () |
void * | get () const |
void * | get_context () const |
void * | release_context () |
std::unique_ptr< void, DeleterFnPtr > && | move_context () |
C10_NODISCARD bool | compare_exchange_deleter (DeleterFnPtr expected_deleter, DeleterFnPtr new_deleter) |
template<typename T > | |
T * | cast_context (DeleterFnPtr expected_deleter) const |
operator bool () const | |
DeleterFnPtr | get_deleter () const |
Definition at line 38 of file UniqueVoidPtr.h.