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

YouTube

Semantic Sugar - Tips for Effective Template Library APIs

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 examines ways to constrain and tailor C++ template library APIs, including concepts, tag dispatch, specialization, and customization points. It explores the difference between syntactic and semantic concepts and discusses pitfalls in their use.

Syllabus

Intro
Roi Barkan
Introduction
Documentation
Concepts are fundamental
Templates
EnableIf
Outline
Concepts
Overload
Syntax vs Semantic
Recap
Assign Integral
Required Expressions
Type Trades
Variable Templates
Boolean Expression
And Requires Expression
Specialization
Boolean Expressions on Types
The Basic Idea
Templated Library
Risk of incorrect assumptions
Foot Guns
Concept Syntax
Alternative Syntax
Conclusion
Library Guided Approach
Partial Specialization
Tag Dispatch
PolicyBased Design
Customization Points
Application Guided Approach
Summary
Advanced Examples
Comments Questions
Semantics are Tricky

Taught by

CppNow

Reviews

Start your review of Semantic Sugar - Tips for Effective Template Library APIs

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.