Skip to content

Exploring Polymorphism in C++: Run-time vs. Compile-time by Andreas Fertig

Photo of Yacob (Kobi) Cohen-Arazi
Hosted By
Yacob (Kobi) C.
Exploring Polymorphism in C++: Run-time vs. Compile-time by  Andreas Fertig

Details

Abstract
Run-time and compile-time polymorphism are two ways C++ perform polymorphism.

Object-oriented programming with inheritance, typically through virtual functions, is well-known in C++. Occasionally, virtual functions are not worth the cost. For example, when you're only interested in minimizing code duplications and not caring about inheritance features. Compile-time polymorphism is what you need to accomplish this.

In this talk I will explore the two different paths with you before diving into CRTP and policy design.

After this talk, you will have a thorough understanding of the two approaches, run-time and compile-time polymorphism.

Bio
Andreas Fertig, CEO of Unique Code GmbH, is an experienced trainer and lecturer for C++ for standards 11 to 23.

Andreas is involved in the C++ standardization committee, developing the new standards. At international conferences, he presents how code can be written better. He publishes specialist articles, e.g., for iX magazine, and has published several textbooks on C++.

With C++ Insights (https://cppinsights.io), Andreas has created an internationally recognized tool that enables users to look behind the scenes of C++ and thus understand constructs even better.

Before training and consulting, he worked for Philips Medizin Systeme GmbH for ten years as a C++ software developer and architect focusing on embedded systems.

You can find Andreas online at andreasfertig.com.

Zoom info:
Topic: SDCPPMU

Time: Feb 20, 2024 11:00 AM Pacific Time (US and Canada)

Join Zoom Meeting
https://eu01web.zoom.us/j/68563697230?pwd=QlEzZjRhejdHNm1LeS8rdEdlL0VCQT09

Meeting ID: 685 6369 7230
Passcode: 904566

---

One tap mobile
+496950500951,,68563697230#,,,,*904566# Germany
+496950500952,,68563697230#,,,,*904566# Germany

Photo of San Diego C++ group
San Diego C++
See more events