Start speaking a new language. It’s just 3 weeks away.
NY State-Licensed Certificates in Design, Coding & AI — Online
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 modern C++ techniques for eliminating code repetition in this 51-minute conference talk. Learn how to construct zero-cost abstractions that express intent more clearly, making code easier to understand and debug. Discover function templates, nontype templates, object construction, type construction, private inheritance, and perfect forwarding. Gain practical skills to create your own abstractions, reducing micro-repetitions in your codebase and improving overall code quality. Apply these techniques to write more expressive and maintainable C++ code without sacrificing performance.
Syllabus
Introduction
Repetition
About me
Function templates
Nontype templates
Construct an object
Construct a type
Private inheritance
Good or bad
Indirection
Perfect forwarding
Taught by
NDC Conferences