<!-- .slide: data-background="#ccc" -->

## `std::auto_ptr<>` - something to forget

* <!-- .element: class="fragment fade-in" --> C++98 provided <code>std::auto_ptr<></code>
* <!-- .element: class="fragment fade-in" --> Few fixes in C++03
* <!-- .element: class="fragment fade-in" --> Yet still it’s easy to use incorrectly…
* <!-- .element: class="fragment fade-in" --> Deprecated since C++11
* <!-- .element: class="fragment fade-in" --> Removed since C++17
* <!-- .element: class="fragment fade-in" --> Do not use it, use <code>std::unique_ptr<></code> instead
