diff options
author | pixel <pixel> | 2003-02-13 22:45:44 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-02-13 22:45:44 +0000 |
commit | 9683c7b1f67c75670714397c46338c5b2f9b4dc8 (patch) | |
tree | 7b257dc9f65e0eb17c74b98c123bdf63a715bcc0 /include/GMPString.h | |
parent | 383a1ae79222f971bc9245d9c6f35b5db3e28c8b (diff) |
Supporting GMP
Diffstat (limited to 'include/GMPString.h')
-rw-r--r-- | include/GMPString.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/GMPString.h b/include/GMPString.h new file mode 100644 index 0000000..77364bf --- /dev/null +++ b/include/GMPString.h @@ -0,0 +1,18 @@ +#ifndef __GMPSTRING_H__ +#define __GMPSTRING_H__ +#include <gmpxx.h> +#include "BString.h" + +class GMPString : public Base { + public: + GMPString(const GMPString &); + GMPString(const mpz_class &); + GMPString(const mpq_class &); + GMPString(const mpf_class &); + ~GMPString(); + operator String() const; + private: + char * str; +}; + +#endif |