]> www.ginac.de Git - ginac.git/blobdiff - ginac/indexed.h
Replace GiNaC::ToString() with std::to_string().
[ginac.git] / ginac / indexed.h
index 69e0369227b9a53f13cc1a4b5d9d0aafe1d18dd9..2c4f551106c7cf66d1e62eb9d70c883afb169f6a 100644 (file)
@@ -138,8 +138,8 @@ public:
 
        // internal constructors
        indexed(const symmetry & symm, const exprseq & es);
-       indexed(const symmetry & symm, const exvector & v, bool discardable = false);
-       indexed(const symmetry & symm, std::auto_ptr<exvector> vp);
+       indexed(const symmetry & symm, const exvector & v);
+       indexed(const symmetry & symm, exvector && v);
 
        // functions overriding virtual functions from base classes
 public:
@@ -157,7 +157,7 @@ public:
 protected:
        ex derivative(const symbol & s) const;
        ex thiscontainer(const exvector & v) const;
-       ex thiscontainer(std::auto_ptr<exvector> vp) const;
+       ex thiscontainer(exvector && v) const;
        unsigned return_type() const;
        return_type_t return_type_tinfo() const { return op(0).return_type_tinfo(); }
        ex expand(unsigned options = 0) const;