Loading…
C++Now 2015 has ended
Please visit the C++Now website.
View analytic
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.

Slides 

Speakers
avatar for Arthur O'Dwyer

Arthur O'Dwyer

Arthur O'Dwyer started his career writing pre-C++11 compilers for Green Hills Software; he currently writes C++14 for Akamai Technologies. Arthur is the author of "Colossal Cave: The Board Game," "Mastering the C++17 STL" (the book), and "The STL From Scratch" (the training course... Read More →


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

Attendees (0)