Overview
Explore the intricacies of unit testing an expression template library in C++20 through this comprehensive conference talk from C++Now 2024. Delve into the challenges of compile-time testing, using an expression template parser combinator library as a case study. Learn techniques for improving diagnostic readability and error message clarity when working with compile-time computations. Compare popular unit testing libraries' approaches to compile-time testing and identify areas for improvement. Discover how to push C++ to its limits in achieving user-friendly error messages while reflecting on the evolution of compile-time programming in the language. Gain insights into upcoming C++ features that promise to simplify compile-time testing and enhance expressiveness. Conclude with a roadmap of desired language features yet to enter the standardization process, providing a forward-looking perspective on the future of compile-time testing in C++.
Syllabus
Unit Testing an Expression Template Library in C++20 - Braden Ganetsky - C++Now 2024
Taught by
CppNow