Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <memory.h>
Public Types | |
typedef P | element_type |
Public Member Functions | |
weak_ptr () throw () | |
void | swap (this_type &other) throw () |
template<typename P2 > | |
weak_ptr (weak_ptr< P2 > const &r, typename enable_if_ptr_convertible< P2, P, void * >::type=0) throw () | |
template<typename P2 > | |
weak_ptr (shared_ptr< P2 > const &r, typename enable_if_ptr_convertible< P2, P, void * >::type=0) throw () | |
template<typename P2 > | |
weak_ptr & | operator= (weak_ptr< P2 > const &r) throw () |
template<typename P2 > | |
weak_ptr & | operator= (shared_ptr< P2 > const &r) throw () |
shared_ptr< P > | lock () const throw () |
long | use_count () const throw () |
bool | expired () const throw () |
bool | _empty () const |
void | reset () throw () |
void | _internal_assign (P *px2, sp::shared_ctrl_handle const &pn2) |
template<typename P2 > | |
bool | _internal_less (weak_ptr< P2 > const &rhs) const |
template<typename P2 > | |
weak_ptr< P > & | operator= (weak_ptr< P2 > const &r) throw () |
template<typename P2 > | |
weak_ptr< P > & | operator= (shared_ptr< P2 > const &r) throw () |
Friends | |
template<typename > | |
class | shared_ptr |
template<typename > | |
class | weak_ptr |
typedef P CLHEP::weak_ptr< P >::element_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1453 of file memory.h.
Referenced by CLHEP::operator<().
|
inline |
|
inline |
|
inline |
weak_ptr< P > & CLHEP::weak_ptr< P >::operator= | ( | shared_ptr< P2 > const & | r | ) | |
throw | ( | ||||
) |
|
inline |
weak_ptr< P > & CLHEP::weak_ptr< P >::operator= | ( | weak_ptr< P2 > const & | r | ) | |
throw | ( | ||||
) |
|
inline |
|
inline |
Definition at line 1436 of file memory.h.
Referenced by CLHEP::weak_ptr< P >::reset(), and CLHEP::swap().
|
inline |