allow to add different custom deleter funtions to a shared_ptr without touching its original custom deleter [詳細]
#include <utils.h>
Public メソッド | |
smart_pointer_deleter (P const &p, const boost::function< void(void const *)> &deleterfn, const boost::function< void()> &postdeleterfn=boost::function< void()>()) | |
void | operator() (void const *x) |
P const & | get () const |
allow to add different custom deleter funtions to a shared_ptr without touching its original custom deleter
Can specify pre-delete and post-delete functions
|
inline |
|
inline |
|
inline |