Free courses from frontend to fullstack and AI
AI, Data Science & Cloud Certificates from Google, IBM & Meta
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Explore six different approaches to implementing a Math Expressions Calculator in C++ through this comprehensive conference talk from CppCon 2023. Delve into the tradeoffs between runtime polymorphism using virtual functions and static polymorphism with Templates. Begin with basic pointer-based polymorphism, progress to smart pointers, compare unique_ptr and shared_ptr usage, and investigate templates and variadic templates. Cover additional topics such as template specialization, constexpr, type traits, and C++20 concepts. Gain insights into C++'s multi-paradigm power and learn valuable implementation strategies for modeling diverse entity behaviors, applicable to C++ developers of all levels.
Syllabus
Six Ways for Implementing Math Expressions Calculator in C++ - Amir Kirsh - CppCon 2023
Taught by
CppCon