vSMC
vSMC: Scalable Monte Carlo
|
MKL resource management base class. More...
#include <vsmc/utility/mkl.hpp>
Classes | |
class | deleter_type |
Public Types | |
using | element_type = typename std::remove_pointer< MKLPtr >::type |
using | pointer = MKLPtr |
Public Member Functions | |
MKLBase ()=default | |
MKLBase (const MKLBase< MKLPtr, Derived > &)=delete | |
MKLBase (MKLBase< MKLPtr, Derived > &&)=default | |
pointer | get () const |
deleter_type & | get_deleter () |
const deleter_type & | get_deleter () const |
operator bool () const | |
MKLBase< MKLPtr, Derived > & | operator= (const MKLBase< MKLPtr, Derived > &)=delete |
MKLBase< MKLPtr, Derived > & | operator= (MKLBase< MKLPtr, Derived > &&)=default |
int | release () |
void | reset (pointer ptr) |
void | swap (MKLBase< MKLPtr, Derived > &other) |
Protected Member Functions | |
void | reset_ptr (pointer ptr) |
MKL resource management base class.
using vsmc::MKLBase< MKLPtr, Derived >::element_type = typename std::remove_pointer<MKLPtr>::type |
using vsmc::MKLBase< MKLPtr, Derived >::pointer = MKLPtr |
|
default |
|
delete |
|
default |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
delete |
|
default |
|
inline |
|
inline |
|
inlineprotected |
|
inline |