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

YouTube

Definition-Checked Generics, Part 1 - The Why and How

CppNow via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk explores definition-checked generic programming through examples of C++20 concepts and comparisons with approaches in C++0x, Swift, Rust, and Carbon. It discusses the benefits and limitations of these approaches, including their implications for language design.

Syllabus

Introduction
DefinitionChecked Generics
DefinitionChecking in C
Why is it important
C error messages
Is static typing useful
Shifting left
Type Erasure
Checked Generics in Practice
C Templates Concepts
Generic Functions
Constraints
Interface Parameters
Type Parameters
Implementation Parameters
Checked Generics in Other Languages
C
Swift
Protocols
Generic Function
Generic Variatics
Rust Traits
Rust Advanced Features
Rust Periodics
Interfaces
Checked vs Template
Chandler Carruth
Examples

Taught by

CppNow

Reviews

Start your review of Definition-Checked Generics, Part 1 - The Why and How

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.