X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fex.h;h=db78536b45bae79c4b451214290f7e8e56d21f90;hp=6fd45c9d24356bc2af5a2b6458adb719a383c25c;hb=f8b3c08fd7a5aabe7471c4dfb635d134ee4d8ef3;hpb=17cb07800bff4b032976f3ac93ef70f2fc0a85a6;ds=sidebyside diff --git a/ginac/ex.h b/ginac/ex.h index 6fd45c9d..db78536b 100644 --- a/ginac/ex.h +++ b/ginac/ex.h @@ -970,20 +970,6 @@ inline void swap(GiNaC::ex &a, GiNaC::ex &b) a.swap(b); } -/** Specialization of std::iter_swap() for vector iterators. */ -template <> -inline void iter_swap(vector::iterator i1, vector::iterator i2) -{ - i1->swap(*i2); -} - -/** Specialization of std::iter_swap() for list iterators. */ -template <> -inline void iter_swap(list::iterator i1, list::iterator i2) -{ - i1->swap(*i2); -} - } // namespace std #endif // ndef GINAC_EX_H