]> www.ginac.de Git - ginac.git/blobdiff - ginac/clifford.cpp
the destructor, copy constructor, and assignment operator (which were the
[ginac.git] / ginac / clifford.cpp
index 8ab70652551a562ef2ccdba5591223645d68781b..c3c0d9f3a3ba9b9944f1bd96626aed8863c99ed3 100644 (file)
@@ -48,28 +48,6 @@ clifford::clifford()
        tinfo_key = TINFO_clifford;
 }
 
-clifford::~clifford()
-{
-       debugmsg("clifford destructor",LOGLEVEL_DESTRUCT);
-       destroy(false);
-}
-
-clifford::clifford(const clifford & other)
-{
-       debugmsg("clifford copy constructor",LOGLEVEL_CONSTRUCT);
-       copy(other);
-}
-
-const clifford & clifford::operator=(const clifford & other)
-{
-       debugmsg("clifford operator=",LOGLEVEL_ASSIGNMENT);
-       if (this != &other) {
-               destroy(true);
-               copy(other);
-       }
-       return *this;
-}
-
 // protected
 
 void clifford::copy(const clifford & other)
@@ -204,24 +182,6 @@ ex clifford::simplify_ncmul(const exvector & v) const
        return simplified_ncmul(v);
 }
 
-//////////
-// virtual functions which can be overridden by derived classes
-//////////
-
-// none
-
-//////////
-// non-virtual functions in this class
-//////////
-
-// none
-
-//////////
-// static member variables
-//////////
-
-// none
-
 //////////
 // friend functions
 //////////
@@ -236,13 +196,6 @@ clifford clifford_gamma(const ex & mu)
        return clifford("gamma", mu);
 }
 
-//////////
-// global constants
-//////////
-
-const clifford some_clifford;
-const std::type_info & typeid_clifford = typeid(some_clifford);
-
 #ifndef NO_NAMESPACE_GINAC
 } // namespace GiNaC
 #endif // ndef NO_NAMESPACE_GINAC