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.

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

Classes

struct  X
struct  Y
struct  Z
class  incomplete

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

shared_ptr< incomplete > create_incomplete (  ) 

Definition at line 1380 of file testWeakPtr.cc.

Referenced by n_constructors::conversion_constructor(), and n_constructors::shared_ptr_constructor().

int main (  ) 

Definition at line 1360 of file testWeakPtr.cc.

References n_map::test(), n_lock::test(), n_comparison::test(), n_swap::test(), n_use_count::test(), n_reset::test(), n_assignment::test(), n_constructors::test(), and n_element_type::test().


Generated on 15 Nov 2012 for CLHEP by  doxygen 1.4.7