]> www.ginac.de Git - ginac.git/blobdiff - ginac/mul.h
Remove dependence on depreacted std::auto_ptr<T>.
[ginac.git] / ginac / mul.h
index a2ac691eacc7fe0d54a450390458a41643e9eea4..fb3dd9cad1d4fe065eacfa107660fd1c834bd707 100644 (file)
@@ -42,7 +42,7 @@ public:
        mul(const exvector & v);
        mul(const epvector & v);
        mul(const epvector & v, const ex & oc, bool do_index_renaming = false);
-       mul(std::auto_ptr<epvector> vp, const ex & oc, bool do_index_renaming = false);
+       mul(epvector && vp, const ex & oc, bool do_index_renaming = false);
        mul(const ex & lh, const ex & mh, const ex & rh);
        
        // functions overriding virtual functions from base classes
@@ -72,7 +72,7 @@ protected:
        unsigned return_type() const;
        return_type_t return_type_tinfo() const;
        ex thisexpairseq(const epvector & v, const ex & oc, bool do_index_renaming = false) const;
-       ex thisexpairseq(std::auto_ptr<epvector> vp, const ex & oc, bool do_index_renaming = false) const;
+       ex thisexpairseq(epvector && vp, const ex & oc, bool do_index_renaming = false) const;
        expair split_ex_to_pair(const ex & e) const;
        expair combine_ex_with_coeff_to_pair(const ex & e, const ex & c) const;
        expair combine_pair_with_coeff_to_pair(const expair & p, const ex & c) const;
@@ -98,7 +98,7 @@ protected:
        void do_print_csrc(const print_csrc & c, unsigned level) const;
        void do_print_python_repr(const print_python_repr & c, unsigned level) const;
        static bool can_be_further_expanded(const ex & e);
-       std::auto_ptr<epvector> expandchildren(unsigned options) const;
+       epvector expandchildren(unsigned options) const;
 };
 GINAC_DECLARE_UNARCHIVER(mul);