CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

Classes | Functions | Variables
n_spt_intrusive Namespace Reference

Classes

struct  X
 
struct  intrusive_deleter
 

Functions

void intrusive_ptr_add_ref (X *p)
 
void intrusive_ptr_release (X *p)
 
shared_ptr< Xmake_shared_from_intrusive (X *p)
 
void test ()
 

Variables

int X_instances = 0
 

Function Documentation

void n_spt_intrusive::intrusive_ptr_add_ref ( X p)

Definition at line 2947 of file testSharedPtr.cc.

References n_spt_intrusive::X::count.

Referenced by make_shared_from_intrusive().

void n_spt_intrusive::intrusive_ptr_release ( X p)
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 ( )

Variable Documentation

int n_spt_intrusive::X_instances = 0