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

YouTube

The Rule of Seven - Plus or Minus Two - Modern C++ Boilerplate

CppNow via YouTube

Overview

Coursera Spring Sale
40% Off Coursera Plus Annual!
Grab it
Dive into the intricacies of modern C++ class design in this comprehensive conference talk from CppNow. Explore the evolution of C++ best practices, from the Rule of Three in C++98 to the Rule of Five (or Six, or Seven) in C++11 and beyond. Learn when to implement default constructors, how to optimize performance with noexcept, and the nuances of supporting self-assignment and self-move operations. Discover the differences between =default and empty braces, and gain insights into the proper implementation of swap() functions. Equip yourself with practical knowledge to write more efficient and robust C++ code, addressing common boilerplate challenges in modern C++ programming.

Syllabus

Arthur O'Dwyer: The Rule of Seven (Plus or Minus Two): Modern C++ Boilerplate

Taught by

CppNow

Reviews

Start your review of The Rule of Seven - Plus or Minus Two - Modern C++ Boilerplate

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.