]> www.ginac.de Git - cln.git/blobdiff - include/cln/GV_complex.h
Remove some unused configuration macros.
[cln.git] / include / cln / GV_complex.h
index 72a9797405066a9c403e833e309eb9d2cdc25697..8939debb727b07032629944436a936f756238df5 100644 (file)
@@ -19,7 +19,7 @@ public:
        // Constructors.
        cl_GV_N ();
        cl_GV_N (const cl_GV_N&);
-       explicit cl_GV_N (uintL len);
+       explicit cl_GV_N (std::size_t len);
        // Assignment operators.
        cl_GV_N& operator= (const cl_GV_N&);
        // Private pointer manipulations.
@@ -28,7 +28,7 @@ public:
 };
 inline cl_GV_N::cl_GV_N (const cl_GV_N& x) : cl_GV<cl_N,cl_GV_number> (as_cl_private_thing(x)) {}
 CL_DEFINE_ASSIGNMENT_OPERATOR(cl_GV_N,cl_GV_N)
-inline cl_GV_N::cl_GV_N (uintL len)
+inline cl_GV_N::cl_GV_N (std::size_t len)
        : cl_GV<cl_N,cl_GV_number> ((cl_heap_GV_N*) cl_make_heap_GV_number(len)) {}
 inline cl_GV_N::cl_GV_N ()
        : cl_GV<cl_N,cl_GV_number> ((cl_heap_GV_N*) (cl_heap_GV_number*) cl_null_GV_number) {}
@@ -40,14 +40,14 @@ inline const cl_GV_N copy (const cl_GV_N& vector)
 }
 
 // Output.
-inline void fprint (cl_ostream stream, const cl_GV_N& x)
+inline void fprint (std::ostream& stream, const cl_GV_N& x)
 {
        extern cl_print_flags default_print_flags;
-       extern void print_vector (cl_ostream stream, const cl_print_flags& flags, void (* fun) (cl_ostream, const cl_print_flags&, const cl_number&), const cl_GV_number& vector);
-       extern void print_complex (cl_ostream stream, const cl_print_flags& flags, const cl_N& z);
+       extern void print_vector (std::ostream& stream, const cl_print_flags& flags, void (* fun) (std::ostream&, const cl_print_flags&, const cl_number&), const cl_GV_number& vector);
+       extern void print_complex (std::ostream& stream, const cl_print_flags& flags, const cl_N& z);
        print_vector(stream, default_print_flags,
-                    (void (*) (cl_ostream, const cl_print_flags&, const cl_number&))
-                    (void (*) (cl_ostream, const cl_print_flags&, const cl_N&))
+                    (void (*) (std::ostream&, const cl_print_flags&, const cl_number&))
+                    (void (*) (std::ostream&, const cl_print_flags&, const cl_N&))
                     &print_complex,
                     x);
 }