C
Chummaid
Hello All,
Can somebody please explain why the following is not supported ?
class A{};
A* a = new A();
auto_ptr <A> aptr = *a;// Not supported
// though this is supported.
auto_ptr <A> aptr(a);
Thanks in advance
CID
Can somebody please explain why the following is not supported ?
class A{};
A* a = new A();
auto_ptr <A> aptr = *a;// Not supported
// though this is supported.
auto_ptr <A> aptr(a);
Thanks in advance
CID