Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

The C++ Type System is Your Friend

NDC Conferences via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk shows how C++ types and templates can create lightweight abstractions for safer, more readable, and reusable code. It covers compile-time techniques, physical quantities, operator relationships, and improving template error messages with concepts.

Syllabus

Intro
Why this talk
Three important things
History of programming types
Types in C
Using the Type System
Compilation
Example
Whole Value Pattern
Templates
Header Files
Constructors
Explicit Operations
CRTP
C Runtime Polymorphism
Physical Quantities
Related Flavors
Template Metaprogramming
Operator Traits
Fixed Length String
Policy Decisions
Context Per
Runtime Check
Implicit vs Explicit
Compilation vs Templates
First attempt
Error messages without concepts
Error messages with concepts
Summary

Taught by

NDC Conferences

Reviews

Start your review of The C++ Type System is Your Friend

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.