CppNorth2022 has ended
CppNorth, The Canadian C++ Conference, July 17-20, 2022,
The Omni King Edward Hotel, Toronto, Ontario M5C 1 E9
Back To Schedule
Tuesday, July 19 • 15:15 - 16:15
How to "OO" in C++

Log in to save this to your schedule, view media, leave feedback and see who's attending!

C++ has many ways to implement polymorphism: Inheritance and virtual functions, static polymorphism, concept-based polymorphism, the visitor pattern, variants and overloaded, etc. While this is very powerful, it can also be very confusing (after all, many languages are "one size fits all"). In this talk, I will explain and demonstrate each approach, including how to use it and why it exists, and then provide a framework for deciding which one to use in your code. I will also explain why "OO" is in quotation marks.

avatar for Mike Spertus

Mike Spertus

Mike is a Senior Principal Engineer in AWS Dev Tools, and an Adjunct Professor at the University of Chicago. He has been involved with the C and C++ family of languages since the mid eighties, when he helped write one of the first MS-DOS C compilers, and is a long-time member of the... Read More →

Tuesday July 19, 2022 15:15 - 16:15 EDT
B - Knightsbridge