Loading…
C++Now 2014 has ended
Please visit the C++Now website.
Friday, May 16 • 11:00am - 12:30pm
Managing Object Lifetimes

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

One of the most powerful features of C++ is deterministic, scope based object lifetimes. Used properly, this can help ensure that your code is does not leak resources and is exception-safe. In this talk, I will show examples and discuss techniques that you can use to make your code simpler, easier to read, and more obviously correct. 

We'll start with the basics of construction/destruction, move on to RAII and smart_pointers, then discuss exception safety, and finish up with a discussion about ownership when passing parameters. 

Along the way, I will discuss the changes in C++11 and C+14 that make this style of programming easier.

Speakers

Friday May 16, 2014 11:00am - 12:30pm MDT
Hudson

Attendees (0)