Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Rethinking Pointers

CppNow via YouTube

Overview

Explore the complexities of pointer usage in C++ through this conference talk from C++Now 2018. Delve into the nuances of owning raw pointers, smart pointers, and references, challenging common advice and examining standard library practices. Analyze the properties of various pointer-like types and their appropriate applications. Investigate situations requiring pointer-like types and determine the best choices for each scenario. Gain insights into topics such as optional, std::observer_ptr, and the distinctions between T&, gsl::non_null, and std::reference_wrapper. Learn how the type system can aid in catching lifetime issues, ultimately providing a comprehensive guide to selecting the most suitable pointer types for different programming contexts.

Syllabus

C++Now 2018: Jonathan Müller “Rethinking Pointers”

Taught by

CppNow

Reviews

Start your review of Rethinking Pointers

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.