summaryrefslogtreecommitdiff
path: root/include/GMPString.h
blob: 77364bfd7c29bf38b023c6763ba5474c0595d330 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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