C++Now 2015 has ended
Please visit the C++Now website.
Friday, May 15 • 9:00am - 10:30am
The Rule of Seven (Plus or Minus Two): Modern C++ Boilerplate

Log in to save this to your schedule and see who's attending!

C++98 had the Rule of Three (or was it Four?). C++11 has the Rule of Five — or Six, if you count the default constructor — or Seven, if you count swap(). Should swap() be a member function? When is a default constructor absolutely mandatory? When is noexcept required for good performance? Should our classes support self-assignment and self-move? When is =default different from empty braces? We'll present reasonable answers to these questions and more.


avatar for Arthur O'Dwyer

Arthur O'Dwyer

Arthur O'Dwyer is the author of "Colossal Cave: The Board Game," "Mastering the C++17 STL" (the book), and "The STL From Scratch" (the training course). He runs professional C++ training courses, is occasionally active on the C++ Standards Committee, and has a blog mostly about C... Read More →

Friday May 15, 2015 9:00am - 10:30am
Flug Auditorium

Attendees (0)