CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
Classes | |
struct | intrusive_deleter |
struct | X |
Functions | |
void | intrusive_ptr_add_ref (X *p) |
void | intrusive_ptr_release (X *p) |
shared_ptr< X > | make_shared_from_intrusive (X *p) |
void | test () |
Variables | |
int | X_instances = 0 |
void n_spt_intrusive::intrusive_ptr_add_ref | ( | X * | p | ) |
Definition at line 2947 of file testSharedPtr.cc.
Referenced by make_shared_from_intrusive().
void n_spt_intrusive::intrusive_ptr_release | ( | X * | p | ) |
Definition at line 2953 of file testSharedPtr.cc.
Referenced by n_spt_intrusive::intrusive_deleter< T >::operator()().
shared_ptr< X > n_spt_intrusive::make_shared_from_intrusive | ( | X * | p | ) |
Definition at line 2967 of file testSharedPtr.cc.
References intrusive_ptr_add_ref().
Referenced by test().
void n_spt_intrusive::test | ( | ) |
Definition at line 2975 of file testSharedPtr.cc.
References CLHEP::shared_ptr< P >::get(), make_shared_from_intrusive(), and X_instances.
Referenced by main().
int n_spt_intrusive::X_instances = 0 |
Definition at line 2929 of file testSharedPtr.cc.
Referenced by test(), n_spt_intrusive::X::X(), and n_spt_intrusive::X::~X().