template<> inline void swap(MyClass1& x1,MyClass1& x2) { x1.swap(x2); }//swap
template<> inline void swap<MyClass2>(MyClass2& x1,MyClass2& x2) { x1.swap(x2); }//swap