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

Classes | Functions
testSharedPtrConvertible.cc File Reference
#include "CLHEP/Utility/noncopyable.h"
#include "CLHEP/Utility/memory.h"
#include <cassert>

Go to the source code of this file.

Classes

struct  X
struct  Y
struct  Z

Functions

int f (shared_ptr< void const >)
int f (shared_ptr< int >)
int f (shared_ptr< incomplete >)
int g (shared_ptr< X >)
int g (shared_ptr< Y >)
int g (shared_ptr< incomplete >)
int main ()

Function Documentation

int f ( shared_ptr< void const >   )

Definition at line 37 of file testSharedPtrConvertible.cc.

int f ( shared_ptr< int >   )

Definition at line 40 of file testSharedPtrConvertible.cc.

int f ( shared_ptr< incomplete >   )

Definition at line 43 of file testSharedPtrConvertible.cc.

int g ( shared_ptr< X )
int g ( shared_ptr< Y )

Definition at line 49 of file testSharedPtrConvertible.cc.

References g().

int g ( shared_ptr< incomplete )

Definition at line 52 of file testSharedPtrConvertible.cc.

References g().

int main ( )

Definition at line 55 of file testSharedPtrConvertible.cc.

References f(), and g().