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

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

◆ f() [1/3]

int f ( shared_ptr< incomplete > )

Definition at line 43 of file testSharedPtrConvertible.cc.

◆ f() [2/3]

int f ( shared_ptr< int > )

Definition at line 40 of file testSharedPtrConvertible.cc.

◆ f() [3/3]

int f ( shared_ptr< void const > )

Definition at line 37 of file testSharedPtrConvertible.cc.

Referenced by main().

◆ g() [1/3]

int g ( shared_ptr< incomplete > )

Definition at line 52 of file testSharedPtrConvertible.cc.

◆ g() [2/3]

int g ( shared_ptr< X > )

Definition at line 46 of file testSharedPtrConvertible.cc.

Referenced by f(), and main().

◆ g() [3/3]

int g ( shared_ptr< Y > )

Definition at line 49 of file testSharedPtrConvertible.cc.

◆ main()

int main ( )

Definition at line 55 of file testSharedPtrConvertible.cc.

References f().