Back to Basics: C++ Value Semantics - Lecture 2022
Offered By: CppCon via YouTube
Course Description
Overview
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
Error Handling in C++ - As Easy as "Use Exceptions"?NDC Conferences via YouTube A Short Life Span - For A Regular Mess
NDC Conferences via YouTube C++ - No More Nulls! - Fixing the Billion Dollar Mistake
NDC Conferences via YouTube The Markable Library
code::dive conference via YouTube C++23 Ranges - Functional Programming With New View Adaptors and Other Utilities
ACCU Conference via YouTube