]> www.ginac.de Git - ginac.git/blobdiff - ginac/idx.cpp
the destructor, copy constructor, and assignment operator (which were the
[ginac.git] / ginac / idx.cpp
index 34d5c854c00f55c47be8b64b4959a8bffdd844f5..af463a80f4a71cfe9c3ebf33ec486f1fed16c1e3 100644 (file)
@@ -49,28 +49,6 @@ idx::idx() : inherited(TINFO_idx), symbolic(true), covariant(false)
        name=autoname_prefix()+ToString(serial);
 }
 
-idx::~idx() 
-{
-       debugmsg("idx destructor",LOGLEVEL_DESTRUCT);
-       destroy(false);
-}
-
-idx::idx(const idx & other)
-{
-       debugmsg("idx copy constructor",LOGLEVEL_CONSTRUCT);
-       copy(other);
-}
-
-const idx & idx::operator=(const idx & other)
-{
-       debugmsg("idx operator=",LOGLEVEL_ASSIGNMENT);
-       if (this != &other) {
-               destroy(true);
-               copy(other);
-       }
-       return *this;
-}
-
 // protected
 
 void idx::copy(const idx & other)