Getting Started with C++17 Programming : auto_ptr | packtpub.com

2,142 views · Published 4 January 2018 · 6:20 · Indexed 25 October 2026

Channel: Packt · 2018 · Science & Technology

Watch on YouTube

This playlist/video has been uploaded for Marketing purposes and contains only selective videos. 

For the entire video course and code, visit [http://bit.ly/2COuIFj].

The auto_ptr smart pointer takes a raw pointer, wraps it, and ensures the memory pointed by the raw pointer is released back whenever the auto_ptr object goes out of scope. At any time, only one auto_ptr smart pointer can point to an object. 
• Create two auto_ptr smart pointers that point to two different MyClass objects 
• Explore more useful functionalities of auto_ptr 



For the latest Application Development tutorials, please visit
http://bit.ly/1VACBzh

Find us on Facebook -- http://www.facebook.com/Packtvideo
Follow us on Twitter - http://www.twitter.com/packtvideo

More from this channel