https://github.com/root-project/root
Raw File
Tip revision: 708d2fe5bc0233e86cd484156edfd46bd399af4b authored by Rene Brun on 27 August 2008, 14:30:46 UTC
Tagging dev version 5.21/02
Tip revision: 708d2fe
_complex
/* -*- C++ -*- */
/*************************************************************************
 * Copyright(c) 1995~2005  Masaharu Goto (cint@pcroot.cern.ch)
 *
 * For the licensing terms see the file COPYING
 *
 ************************************************************************/
#ifndef G__COMPLEX_DLL
#pragma include_noerr <complex.dll>
#endif

#ifndef G__COMPLEX_H
#define G__COMPLEX_H

#ifdef __MAKECINT__
#include <prec_stl/complex>
//#include <_complex.h>
#else
#include <_complex.h>
#endif

#if defined(__CINT__) && !defined(__MAKECINT__)
#if 1
#include <typeinfo.h>
template<class scalar>
int G__ateval(const complex<scalar>& x) {
  cout << "(" << typeid(x).name() << ")" << x << endl;
  return(1);
}
#else
template<class scalar>
int G__ateval(const complex<scalar>& x) {
  cout << "(complex)" << x << endl;
  return(1);
}
#endif
#endif

#endif
back to top