X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=include%2Fcln%2Flfloat_io.h;h=eb003131f7c635f7b520c31210ace33defd6f286;hb=f3b29e52ea5a7b013f8294065920365e5d17d18f;hp=04e8b5538f6c8e79603a91323684f05dd7bb4fd4;hpb=9f8bba7e113ffe1847994a62185ad384cd1be51f;p=cln.git diff --git a/include/cln/lfloat_io.h b/include/cln/lfloat_io.h index 04e8b55..eb00313 100644 --- a/include/cln/lfloat_io.h +++ b/include/cln/lfloat_io.h @@ -8,19 +8,19 @@ namespace cln { -inline cl_istream operator>> (cl_istream stream, cl_LF& result) +inline std::istream& operator>> (std::istream& stream, cl_LF& result) { extern cl_read_flags cl_LF_read_flags; - extern const cl_F read_float (cl_istream, const cl_read_flags&); + extern const cl_F read_float (std::istream&, const cl_read_flags&); result = As(cl_LF)(read_float(stream,cl_LF_read_flags)); return stream; } // The following does strictly the same as the general `fprint' for floats. // It is here only so that people don't need to include . -inline void fprint (cl_ostream stream, const cl_LF& x) +inline void fprint (std::ostream& stream, const cl_LF& x) { - extern void print_float (cl_ostream stream, const cl_print_flags& flags, const cl_F& z); + extern void print_float (std::ostream& stream, const cl_print_flags& flags, const cl_F& z); extern cl_print_flags default_print_flags; print_float(stream,default_print_flags,x); }