X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=include%2Fcln%2Fcomplex_io.h;h=1d6a9b97ff1e1d30a226e8b04a43485f07798abf;hb=f3b29e52ea5a7b013f8294065920365e5d17d18f;hp=14e840f8d4fe02271f74b8c1a956d3a6151e17e2;hpb=850abfde7f0d985ba01526c346bcd0d733562943;p=cln.git diff --git a/include/cln/complex_io.h b/include/cln/complex_io.h index 14e840f..1d6a9b9 100644 --- a/include/cln/complex_io.h +++ b/include/cln/complex_io.h @@ -11,11 +11,11 @@ namespace cln { // Undocumented input functions extern const cl_N read_complex (const cl_read_flags& flags, const char * string, const char * string_limit, const char * * end_of_parse); -extern const cl_N read_complex (cl_istream stream, const cl_read_flags& flags); +extern const cl_N read_complex (std::istream& stream, const cl_read_flags& flags); // Documented input functions -inline cl_istream operator>> (cl_istream stream, cl_N& result) +inline std::istream& operator>> (std::istream& stream, cl_N& result) { extern cl_read_flags cl_N_read_flags; result = read_complex(stream,cl_N_read_flags); @@ -32,10 +32,10 @@ inline cl_istream operator>> (cl_istream stream, cl_N& result) // print_complex(stream,z); // > z: komplexe Zahl // > stream: Stream -extern void print_complex (cl_ostream stream, const cl_print_flags& flags, const cl_N& z); -extern void print_complex (cl_ostream stream, const cl_print_number_flags& flags, const cl_N& z); +extern void print_complex (std::ostream& stream, const cl_print_flags& flags, const cl_N& z); +extern void print_complex (std::ostream& stream, const cl_print_number_flags& flags, const cl_N& z); -inline void fprint (cl_ostream stream, const cl_N& x) +inline void fprint (std::ostream& stream, const cl_N& x) { extern cl_print_flags default_print_flags; print_complex(stream,default_print_flags,x);