0/24 уроков (0%)
– из 24
The C++ Type System Is Your Friend
YouTube·ACCU Conference
Explore how leveraging the C++ type system and templates can produce fast, small, safe, generic, and reusable code in this ACCU 2017 conference talk. Discover techniques for creating type-rich APIs that enhance error prevention and readability, while utilizing template techniques to develop reusable libraries for operators and their relationships with zero run-time overhead. Learn about physical types, the Whole Value pattern, and how to implement policies for constructor validation logic. Examine the benefits of domain types over primitives, compile-time range calculation, and scaling considerations for larger systems. Gain insights into templates and "concepts lite" to improve code safety and performance in C++ programming.