C++Now 2015 has ended
Please visit the C++Now website.
Back To Schedule
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, view media, leave feedback 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

C++ Trainer
Arthur O'Dwyer is the author of "Mastering the C++17 STL" (Packt 2017) and of professional training courses such as "Intro to C++," "Classic STL: Algorithms, Containers, Iterators," and "The STL From Scratch." (Ask me about training your new hires!) Arthur is occasionally active on... Read More →

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

Attendees (0)