]> www.ginac.de Git - ginac.git/blobdiff - ginac/numeric.cpp
the destructor, copy constructor, and assignment operator (which were the
[ginac.git] / ginac / numeric.cpp
index 32bb7fb2295b376e8b362aa4020b8c2923a51d73..3398f60db6aca79a82bd5b27244a03ebe8b70cf9 100644 (file)
@@ -87,28 +87,6 @@ numeric::numeric() : basic(TINFO_numeric)
                status_flags::hash_calculated);
 }
 
-numeric::~numeric()
-{
-       debugmsg("numeric destructor" ,LOGLEVEL_DESTRUCT);
-       destroy(false);
-}
-
-numeric::numeric(const numeric & other)
-{
-       debugmsg("numeric copy constructor", LOGLEVEL_CONSTRUCT);
-       copy(other);
-}
-
-const numeric & numeric::operator=(const numeric & other)
-{
-       debugmsg("numeric operator=", LOGLEVEL_ASSIGNMENT);
-       if (this != &other) {
-               destroy(true);
-               copy(other);
-       }
-       return *this;
-}
-
 // protected
 
 void numeric::copy(const numeric & other)