
07/03/2013 0 error C2679: binary '=' : no operator found which takes a right-hand operand of type 'Test::Test_IZ *' (or there is no acceptable conversion) C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\memory(705): could be 'std::auto_ptr<_Ty> &std::auto_ptr<_Ty>::operator =(std::auto_ptr<_Ty> &) throw()' with [ _Ty=Test::Test_IZ ] C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\memory(711): or 'std::auto_ptr<_Ty> &std::auto_ptr<_Ty>::operator =(std::auto_ptr_ref<_Ty>) throw()' with [ _Ty=Test::Test_IZ ] while trying to match the argument list '(std::auto_ptr<_Ty>, Test::Test_IZ *)' with [ _Ty=Test::Test_IZ ] | |
Mots-clés: C++ | |
Appliquer .reset(nouveau_pointeur) sur l'auto_ptr pour le réinitialiser avec un nouveau pointeur | |