summaryrefslogtreecommitdiff
path: root/cxx
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-10-10 23:13:08 +0200
committerKevin Ryde <user42@zip.com.au>2001-10-10 23:13:08 +0200
commit6c13f09417580656b82e44cf91bfeef5984c5c0f (patch)
tree8eb657efc3380c2c40ca4a4fd3449c29cecd273d /cxx
parent4f97b149141ba91e3db9fb53eb089ba8bf656cee (diff)
downloadgmp-6c13f09417580656b82e44cf91bfeef5984c5c0f.tar.gz
* cxx/*.cc, tests/cxx/t-ostream.cc: Add "use namespace std".
And amend some comments mentioning the old mpz_out_ostream etc.
Diffstat (limited to 'cxx')
-rw-r--r--cxx/osfuns.cc12
1 files changed, 7 insertions, 5 deletions
diff --git a/cxx/osfuns.cc b/cxx/osfuns.cc
index f6a7d9216..e31380bc1 100644
--- a/cxx/osfuns.cc
+++ b/cxx/osfuns.cc
@@ -1,4 +1,4 @@
-/* Support for mpz_out_ostream etc.
+/* Support for operator<< routines.
THE FUNCTIONS IN THIS FILE ARE FOR INTERNAL USE ONLY. THEY'RE ALMOST
CERTAIN TO BE SUBJECT TO INCOMPATIBLE CHANGES OR DISAPPEAR COMPLETELY IN
@@ -30,11 +30,13 @@ MA 02111-1307, USA. */
#include "gmp.h"
#include "gmp-impl.h"
+using namespace std;
-/* Don't need "format" for mpz_out_ostream, mpq_out_ostream and
- mpf_out_ostream, just "memory" and "reps". Omitting gmp_asprintf_format
- lets us avoid dragging vsnprintf into the link. __gmp_asprintf_final
- will be called directly and doesn't need to be in the struct. */
+
+/* Don't need "format" for operator<< routines, just "memory" and "reps".
+ Omitting gmp_asprintf_format lets us avoid dragging vsnprintf into the
+ link. __gmp_asprintf_final will be called directly and doesn't need to
+ be in the struct. */
const struct doprnt_funs_t __gmp_asprintf_funs_noformat = {
NULL,