G4ReferenceCast.hh File Reference

Go to the source code of this file.

Functions

template<typename ReturnType, typename OriginalType>
ReturnType & reference_cast (OriginalType &source)
template<typename ReturnType, typename OriginalType>
ReturnType & reference_cast (ReturnType &, OriginalType &source)


Function Documentation

template<typename ReturnType, typename OriginalType>
ReturnType& reference_cast ( ReturnType &  ,
OriginalType &  source 
)

Definition at line 39 of file G4ReferenceCast.hh.

00040 {
00041     return (ReturnType &) source;
00042 }

template<typename ReturnType, typename OriginalType>
ReturnType& reference_cast ( OriginalType &  source  ) 

Definition at line 32 of file G4ReferenceCast.hh.

00033 {
00034     return (ReturnType &) source;
00035 }


Generated on Mon May 27 17:51:06 2013 for Geant4 by  doxygen 1.4.7