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

testWeakPtr.cc File Reference
#include "CLHEP/Utility/memory.h"
#include <cassert>
#include <map>
#include <vector>

Go to the source code of this file.

Classes

struct  X
 
struct  Y
 
struct  Z
 
class  incomplete
 

Namespaces

namespace  n_element_type
 
namespace  n_constructors
 
namespace  n_assignment
 
namespace  n_reset
 
namespace  n_use_count
 
namespace  n_swap
 
namespace  n_comparison
 
namespace  n_lock
 
namespace  n_map
 

Functions

void n_element_type::f (int &)
 
void n_element_type::test ()
 
shared_ptr< incompletecreate_incomplete ()
 
void n_constructors::default_constructor ()
 
void n_constructors::shared_ptr_constructor ()
 
void n_constructors::copy_constructor ()
 
void n_constructors::conversion_constructor ()
 
void n_constructors::test ()
 
template<class T >
void n_assignment::copy_assignment (shared_ptr< T > &sp)
 
void n_assignment::conversion_assignment ()
 
template<class T , class U >
void n_assignment::shared_ptr_assignment (shared_ptr< U > &sp, T *=0)
 
void n_assignment::test ()
 
template<class T , class U >
void n_reset::test2 (shared_ptr< U > &sp, T *=0)
 
void n_reset::test ()
 
void n_use_count::test ()
 
void n_swap::test ()
 
void n_comparison::test ()
 
void n_lock::test ()
 
void n_map::test ()
 
int main ()
 

Function Documentation

◆ create_incomplete()

shared_ptr< incomplete > create_incomplete ( )

◆ main()