I have a class A
template class A : public std::auto_ptr { typedef std::auto_ptr Super; public: A() : Super() { }
It looks compiler talks that it cannot choose right function: constructor A from pointer A::A(T*) or copy constructor A::A(A &). Maybe it worth to change definition to explicit A(T* t) : Super(t) { }
A
A::A(T*)
A::A(A &)
explicit A(T* t) : Super(t) { }