YoVDO

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

Offered By: CppCon via YouTube

Tags

C++ Courses Object-oriented programming Courses Memory Management Courses Value Semantics Courses std::optional Courses std::variant Courses

Course Description

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

Related Courses

Circle Metaprogramming - Better Features Make Better Libraries
CppNow via YouTube
Variations on Variants
CppNow via YouTube
Implementing Variant Visitation Using Lambdas
CppNow via YouTube
Generic Programming Without Writing Your Own Templates
ACCU Conference via YouTube
Effective Replacement of Dynamic Polymorphism with std - variant
ACCU Conference via YouTube