Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
c10::detail::UniqueVoidPtr Class Reference

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 >
Tcast_context (DeleterFnPtr expected_deleter) const
 
 operator bool () const
 
DeleterFnPtr get_deleter () const
 

Detailed Description

Definition at line 38 of file UniqueVoidPtr.h.


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