I heard auto_ptr is being deprecated in C++11. What is the reason for this?
Also I would like to know the difference between auto_ptr and shared_ptr.
I heard auto_ptr is being deprecated in C++11. What is the reason for this?
Also I would like to know the difference between auto_ptr and shared_ptr.