Skip to content
0:00 / 0:00

#smartpointers#unique_ptr#shared_ptr

Back to Basics: C++ Smart Pointers - David Olsen - CppCon 2022

CppCon

189K subscribers • 103 videos on Hallway • Conference channel

YouTube
  • One of the most-watched uploads on CppCon, a conference or university channel Hallway lists. Nobody has recommended it in the communities yet, so it ranks below community picks.
  • Presented by David Olsen
  • Linked in the descriptionCppCon/CppCon2022

Beginner. No background in the topic needed.

80K views3 years ago

Programming languagesSystems programmingC++Memory management

David Olsen introduces C++ smart pointers, explaining how to use unique_ptr and shared_ptr to manage memory safely without leaks.

cppcon.org/ --- Back to Basics: C++ Smart Pointers - David Olsen - CppCon 2022 github.com/CppCon/CppCon2022 Smart pointers were one of the many powerful additions to C++11, providing programmers with easy-to-use tools to help manage memory resources and avoid certain kinds of memory errors. This back-to-basics session will give you a solid foundation in smart pointers, explaining what smart pointers are in general and how to use the standard smart pointer types std::unique_ptr and std::shared_ptr. It will present a set of clear guidelines for when and how to use smart pointers. Attendees will leave this session having learned, among other things, how to write code that never leaks memory. --- David Olsen David Olsen has more than two decades of software development experience in a variety of programming languages and development environments. For the last six years he has been the lead engineer for the NVIDIA HPC C++ compiler, focusing on running parallel algorithms on GPUs. He is a member of the ISO C++ committee, where he was the champion for the extended floating-point feature in C++23. --- Work at Hudson River Trading (HRT): tinyurl.com/safxfctf --- Videos Filmed & Edited by Bash Films: BashFilms.com YouTube Channel Managed by Digital Medium Ltd events.digital-medium.co.uk #cppcon #programming #coding

Why it's here

A top upload from a listed channel

CppCon is on Hallway's list of conference and university channels, and this upload is one of its most-watched talks or lectures. Nobody has recommended it in the communities yet, so it ranks below community picks.