Overview
Explore a comprehensive conference talk from CppNow 2021 on implementing strong typing in C++ without language extensions. Learn how to create safer and simpler C++ code by leveraging the existing type system to define useful types for common primitives like integers, doubles, and strings. Discover techniques to circumvent inherited C-language holes and prevent issues related to using size_t for container operations. Examine the duality of types in 1D vector spaces and corresponding affine spaces. Gain insights into the PSsst framework for simplifying strong type definitions, and compare it to the P0109 language proposal. Presented by Peter Sommerlad, an experienced software engineer and C++ expert, this talk offers practical strategies for improving code safety and maintainability through strong typing.
Syllabus
Simplest Strong Typing instead of Language Proposal ( P0109 ) - Peter Sommerlad - [CppNow 2021]
Taught by
CppNow