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

excDblThrow.cc File Reference
#include <iostream>

Go to the source code of this file.

Classes

struct  B
 
struct  D
 

Macros

#define single(obj)
 
#define double(obj)
 

Functions

void f (void g())
 
void test1 ()
 
void test2 ()
 
void test3 ()
 
void test4 ()
 
int main ()
 

Macro Definition Documentation

◆ double

◆ single

#define single ( obj)
Value:
cerr << "\nsingle( " #obj " )\n"; \
const B & ref = obj; \
throw ref;

Definition at line 26 of file excDblThrow.cc.

Referenced by test3(), and test4().

Function Documentation

◆ f()

◆ main()

int main ( )

Definition at line 53 of file excDblThrow.cc.

References f(), test1(), test2(), test3(), and test4().

◆ test1()

void test1 ( )

Definition at line 47 of file excDblThrow.cc.

References double.

Referenced by main().

◆ test2()

void test2 ( )

Definition at line 48 of file excDblThrow.cc.

References double.

Referenced by main().

◆ test3()

void test3 ( )

Definition at line 49 of file excDblThrow.cc.

References single.

Referenced by main().

◆ test4()

void test4 ( )

Definition at line 50 of file excDblThrow.cc.

References single.

Referenced by main().