]> www.ginac.de Git - ginac.git/blobdiff - ginac/indexed.h
mention the "dummy()" function option
[ginac.git] / ginac / indexed.h
index d798107f8cf31eb23ac272cfb89e136a3e9ac1f0..30c29e8e167e3fa788ceead1e9c446b596e232a4 100644 (file)
@@ -140,7 +140,7 @@ public:
        // internal constructors
        indexed(const symmetry & symm, const exprseq & es);
        indexed(const symmetry & symm, const exvector & v, bool discardable = false);
-       indexed(const symmetry & symm, exvector * vp); // vp will be deleted
+       indexed(const symmetry & symm, std::auto_ptr<exvector> vp);
 
        // functions overriding virtual functions from base classes
 public:
@@ -152,7 +152,7 @@ public:
 protected:
        ex derivative(const symbol & s) const;
        ex thiscontainer(const exvector & v) const;
-       ex thiscontainer(exvector * vp) const;
+       ex thiscontainer(std::auto_ptr<exvector> vp) const;
        unsigned return_type() const { return return_types::commutative; }
        ex expand(unsigned options = 0) const;