diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-10-10 23:08:11 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-10-10 23:08:11 +0200 |
commit | a339d421cc24b02e4394082e358c687170fb854d (patch) | |
tree | 985885e33f5c3c1fa97b18de2a317abe998b2b6a /gmp-impl.h | |
parent | aae44864028e7db4364439f32288e60b8c1db384 (diff) | |
download | gmp-a339d421cc24b02e4394082e358c687170fb854d.tar.gz |
* gmp-h.in, gmp-impl.h: Use #includes to get necessary standard
classes, add std:: to prototypes.
Diffstat (limited to 'gmp-impl.h')
-rw-r--r-- | gmp-impl.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gmp-impl.h b/gmp-impl.h index d755ef341..f8b43f1e7 100644 --- a/gmp-impl.h +++ b/gmp-impl.h @@ -2397,13 +2397,12 @@ class gmp_allocated_string { inline ~gmp_allocated_string() { (*__gmp_free_func) (str, strlen(str)+1); } }; -class ios; -class string; -class istream; -int __gmp_istream_set_base (istream &, char &, bool &, bool &); -void __gmp_istream_set_digits (string &, istream &, char &, bool &, int); -void __gmp_doprnt_params_from_ios (struct doprnt_params_t *p, ios &o); -ostream& __gmp_doprnt_integer_ostream (ostream &o, const struct doprnt_params_t *p, char *s); +#include <iostream> +#include <string> +int __gmp_istream_set_base (std::istream &, char &, bool &, bool &); +void __gmp_istream_set_digits (std::string &, std::istream &, char &, bool &, int); +void __gmp_doprnt_params_from_ios (struct doprnt_params_t *p, std::ios &o); +std::ostream& __gmp_doprnt_integer_ostream (std::ostream &o, const struct doprnt_params_t *p, char *s); extern const struct doprnt_funs_t __gmp_asprintf_funs_noformat; #endif /* __cplusplus */ |