/*************************************************************************
 * This file defines a complex class which has an layout identical to the one
 * of ROOT5. The file was located in cint/lib/prec_stl/complex
 * This class is used to provide to the ROOT6 typesystem a backward compatible
 * and platform independent information for the complex numbers.
 *
 ************************************************************************/


#ifndef _ROOT_STD_COMPLEX_INCLUDED
#define _ROOT_STD_COMPLEX_INCLUDED

#include <complex>

template<class T> class _root_std_complex {
    T _real;
    T _imag;
};

// Asserts about the size of the complex
static_assert(sizeof(_root_std_complex<double>) == sizeof(complex<double>),
              "The size of complex<T> and _root_std_complex<T> do not match!");
static_assert(sizeof(_root_std_complex<float>) == sizeof(complex<float>),
              "The size of complex<T> and _root_std_complex<T> do not match!");
static_assert(sizeof(_root_std_complex<long>) == sizeof(complex<long>),
              "The size of complex<T> and _root_std_complex<T> do not match!");
static_assert(sizeof(_root_std_complex<int>) == sizeof(complex<int>),
              "The size of complex<T> and _root_std_complex<T> do not match!");

#endif
 root_std_complex.h:1
 root_std_complex.h:2
 root_std_complex.h:3
 root_std_complex.h:4
 root_std_complex.h:5
 root_std_complex.h:6
 root_std_complex.h:7
 root_std_complex.h:8
 root_std_complex.h:9
 root_std_complex.h:10
 root_std_complex.h:11
 root_std_complex.h:12
 root_std_complex.h:13
 root_std_complex.h:14
 root_std_complex.h:15
 root_std_complex.h:16
 root_std_complex.h:17
 root_std_complex.h:18
 root_std_complex.h:19
 root_std_complex.h:20
 root_std_complex.h:21
 root_std_complex.h:22
 root_std_complex.h:23
 root_std_complex.h:24
 root_std_complex.h:25
 root_std_complex.h:26
 root_std_complex.h:27
 root_std_complex.h:28
 root_std_complex.h:29
 root_std_complex.h:30