Overview
Syllabus
Intro
Problem Solving vs. Point of View
The cost of finding the best solution
std::string (simplified)
How often do you analyze exception safety of your code?
The importance of the Exception Safety Guarantees
Imagine the C++ Standard Library with only Basic Exception Safety Guarantee
Never-Empty Guarantee of Boost.Variant
Unit-Specific Aliases: Example
Quantity References: Example
User Defined Literals: Example
Standardization takes time
Comparison
One Definition Rule (ODR) - Translation Unit
One Definition Rule (ODR) - Program
Problem: One Definition Rule Violation
But this is how some customization points behave
Solution #1: Keep it as it is
Compile-time error when resulting dimension or unit is
Get rid of the Downcasting Facility
Designing is Hard
Taught by
NDC Conferences