Главная
Study mode:
on
1
Intro
2
Why this talk
3
Three important things
4
History of programming types
5
Types in C
6
Using the Type System
7
Compilation
8
Example
9
Whole Value Pattern
10
Templates
11
Header Files
12
Constructors
13
Explicit Operations
14
CRTP
15
C Runtime Polymorphism
16
Physical Quantities
17
Related Flavors
18
Template Metaprogramming
19
Operator Traits
20
Fixed Length String
21
Policy Decisions
22
Context Per
23
Runtime Check
24
Implicit vs Explicit
25
Compilation vs Templates
26
First attempt
27
Error messages without concepts
28
Error messages with concepts
29
Summary
Description:
Explore a comprehensive conference talk on leveraging the C++ type system and templates to create efficient, safe, and reusable code. Learn how to utilize type-rich APIs for error prevention and improved readability, while implementing template techniques for zero-overhead reusable libraries. Dive into topics such as the Whole Value Pattern, constructors, explicit operations, runtime polymorphism, physical quantities, template metaprogramming, operator traits, and fixed-length strings. Discover the benefits of policy decisions, context-dependent runtime checks, and the differences between implicit and explicit operations. Gain insights into compilation versus templates, and understand how concepts can improve error messages. Master the art of creating lightweight abstractions that enhance code safety, genericity, and reusability in C++ programming.

The C++ Type System is Your Friend

NDC Conferences
Add to list
0:00 / 0:00