Special Member Functions in C++ - Lecture
Offered By: cpponsea via YouTube
Course Description
Overview
Explore the intricacies of special member functions in C++ through this comprehensive conference talk from C++ on Sea 2023. Delve into the nuances of constructors, destructors, copy and move semantics, and automatic generation by the compiler. Learn about the rule of all or zero, various constructor forms, and when to implement copy/move operations. Gain insights into definition rules, implementation idioms, and testing strategies for special member functions. Discover how to handle common scenarios like class state initialization and reinitialization while creating consistent implementations. Equip yourself with a clear understanding of special member functions to become a more confident and effective C++ software engineer.
Syllabus
Introduction
Agenda
About me
Fundamentals
Magic
Compiler Errors
Constructors
Constructor Types
Default Constructor
Copy
Composition Inheritance
Declaration Rules
Not declared vs Deleted
Copy Behavior
Rule of Zero
All
Constructor
Taught by
cpponsea
Related Courses
Introduction à la programmation orientée objet (en Java)École Polytechnique Fédérale de Lausanne via Coursera C++ For C Programmers, Part A
University of California, Santa Cruz via Coursera Introduction to Programming for Musicians and Digital Artists
California Institute of the Arts via Coursera Beginning Game Programming with C#
University of Colorado System via Coursera Paradigms of Computer Programming
Université catholique de Louvain via edX