CMS 3D CMS Logo

ProperDblFromCmpl.h
Go to the documentation of this file.
1 #ifndef NPSTAT_PROPERDBLFROMCMPL_HH_
2 #define NPSTAT_PROPERDBLFROMCMPL_HH_
3 
15 #include <complex>
16 
17 namespace npstat {
18  template <class T>
20  typedef double type;
21  };
22 
23  template <class T>
24  struct ProperDblFromCmpl<std::complex<T> > {
25  typedef T type;
26  };
27 
28  template <class T>
29  struct ProperDblFromCmpl<const std::complex<T> > {
30  typedef T type;
31  };
32 
33  template <class T>
34  struct ProperDblFromCmpl<volatile std::complex<T> > {
35  typedef T type;
36  };
37 
38  template <class T>
39  struct ProperDblFromCmpl<const volatile std::complex<T> > {
40  typedef T type;
41  };
42 } // namespace npstat
43 
44 #endif // NPSTAT_PROPERDBLFROMCMPL_HH_
npstat::ProperDblFromCmpl< const volatile std::complex< T > >::type
T type
Definition: ProperDblFromCmpl.h:40
watchdog.const
const
Definition: watchdog.py:83
npstat
Definition: AbsArrayProjector.h:14
npstat::ProperDblFromCmpl
Definition: ProperDblFromCmpl.h:19
npstat::ProperDblFromCmpl< const std::complex< T > >::type
T type
Definition: ProperDblFromCmpl.h:30
npstat::ProperDblFromCmpl< std::complex< T > >::type
T type
Definition: ProperDblFromCmpl.h:25
npstat::ProperDblFromCmpl::type
double type
Definition: ProperDblFromCmpl.h:20
std
Definition: JetResolutionObject.h:76
T
long double T
Definition: Basic3DVectorLD.h:48
npstat::ProperDblFromCmpl< volatile std::complex< T > >::type
T type
Definition: ProperDblFromCmpl.h:35