P
Pallav singh
Hi
Kindly let me know some place where we should use auto_ptr
1. replace pointer class members with their corresponding auto_ptr
objects,
you fortify your constructors and other function variable
( created on stack ) against resource leaks in the
presence of exceptions, you eliminate the need to manually
deallocate resources in destructors
Thanks
Pallav Singh
Kindly let me know some place where we should use auto_ptr
1. replace pointer class members with their corresponding auto_ptr
objects,
you fortify your constructors and other function variable
( created on stack ) against resource leaks in the
presence of exceptions, you eliminate the need to manually
deallocate resources in destructors
Thanks
Pallav Singh