CppCon 2021 has ended
Back To Schedule
Thursday, October 28 • 3:15pm - 4:15pm
Back to Basics: Smart Pointers and RAII

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
In this talk we will overview one of the most fundamental and useful abilities of C++: Resource Acquisition Is Initialization. We'll start with an overview of "what is a resource" and understand the difficulties of managing resources in modern programming. Next, we will overview a few solutions suggested in the software development world, and analyze their pros and cons.

We will then deep dive into C++'s suggested solutions, including smart pointers, and learn how to combine them in our code. Finally, we will discuss RAII from a design perspective, and how to apply a user-defined RAII solution to your code.

At the end of the talk you'll be familiar with resource management in software applications in general, and have the toolbox for applying it to your C++ project.

This talk will assume knowledge of topics presented in: "Back to Basics: Pointers", "Back To Basics: Special Member Functions"

ALL TALK SESSIONS CAN BE ACCESSED FROM THE MAIN LOBBY: https://cppcon.digital-medium.co.uk/

avatar for Inbal Levi

Inbal Levi

Milennium Management
​Inbal Levi is a Lead Software Engineer at Millennium (MPGC Services Ltd) with a passion for high performance, readability, compilers, language, and software design. She is an active member of the ISO C++ Standards Committee as Library Evolution Work Group Chair, and as the ISO... Read More →

Thursday October 28, 2021 3:15pm - 4:15pm MDT