]> www.ginac.de Git - ginac.git/blobdiff - ginac/mul.cpp
* Prepare for landing of version 0.7.3.
[ginac.git] / ginac / mul.cpp
index 4c0df21a593962538af3dca4a916e5cf06fe7be4..02029c54791df100aba6d89f8655334b85324168 100644 (file)
@@ -3,7 +3,7 @@
  *  Implementation of GiNaC's products of expressions. */
 
 /*
- *  GiNaC Copyright (C) 1999-2000 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -48,28 +48,6 @@ mul::mul()
        tinfo_key = TINFO_mul;
 }
 
-mul::~mul()
-{
-       debugmsg("mul destructor",LOGLEVEL_DESTRUCT);
-       destroy(false);
-}
-
-mul::mul(const mul & other)
-{
-       debugmsg("mul copy constructor",LOGLEVEL_CONSTRUCT);
-       copy(other);
-}
-
-const mul & mul::operator=(const mul & other)
-{
-       debugmsg("mul operator=",LOGLEVEL_ASSIGNMENT);
-       if (this != &other) {
-               destroy(true);
-               copy(other);
-       }
-       return *this;
-}
-
 // protected
 
 void mul::copy(const mul & other)
@@ -177,12 +155,6 @@ void mul::archive(archive_node &n) const
 
 // public
 
-basic * mul::duplicate() const
-{
-       debugmsg("mul duplicate",LOGLEVEL_ASSIGNMENT);
-       return new mul(*this);
-}
-
 void mul::print(std::ostream & os, unsigned upper_precedence) const
 {
        debugmsg("mul print",LOGLEVEL_PRINT);
@@ -770,14 +742,6 @@ epvector * mul::expandchildren(unsigned options) const
 
 unsigned mul::precedence = 50;
 
-
-//////////
-// global constants
-//////////
-
-const mul some_mul;
-const std::type_info & typeid_mul = typeid(some_mul);
-
 #ifndef NO_NAMESPACE_GINAC
 } // namespace GiNaC
 #endif // ndef NO_NAMESPACE_GINAC