Why is auto_ptr being deprecated?

Viewed 49018

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.

5 Answers
Related