source: Sophya/trunk/SophyaLib/BaseTools/complexios.h@ 1783

Last change on this file since 1783 was 268, checked in by ansari, 26 years ago

fin ndataBlock + AnyDataObj cree rz+cmv 26/4/99

File size: 498 bytes
Line 
1// This may look like C code, but it is really -*- C++ -*-
2// Gestion d impression des complex sur les streams
3// C.Magneville 04/99
4// LAL (Orsay) / IN2P3-CNRS DAPNIA/SPP (Saclay) / CEA
5
6#ifndef COMPLEXIOS_H
7#define COMPLEXIOS_H
8
9#include "machdefs.h"
10#include <iostream.h>
11
12#if defined(NO_IOS_COMPLEX)
13template<class T>
14inline ostream& operator << (ostream& os, const complex<T>& c)
15 {os<<"("<<c.real()<<","<<c.imag()<<")"; return os;}
16#endif
17
18#endif
Note: See TracBrowser for help on using the repository browser.