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

YouTube

Back to Basics: C++ Value Semantics - Lecture 2022

CppCon via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the philosophy of value semantics in modern C++ through this CppCon 2022 talk by Klaus Iglberger. Delve into the benefits of using value and value-like types over pointers and references, examining standard library components such as std::optional, std::function, and std::variant. Gain insights into the drawbacks of reference types like std::string_view and std::span, and address common questions about value semantics, including proper usage of reference types and considerations for reference parameters. Learn from Iglberger's expertise in large-scale C++ software design and his experience as the lead designer of the Blaze C++ math library.

Syllabus

Introduction
Structure
Disadvantages
Value Semantics
Advantages
Remove function
Standard Library
Optional
Memory usage
Variants

Taught by

CppCon

Reviews

Start your review of Back to Basics: C++ Value Semantics - Lecture 2022

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.