C++20 Concepts brings sanity to generic programming – Michael Hava on using std::cpp 2023
Michael Hava gave a talk on C++ Concepts at the using std::cpp 2023 conference, held April 27–28 at the Universidad Carlos III de Madrid.
Generic programming has been a cornerstone of Modern C++ since the introduction of the STL in 1994. However, it took until C++20 to add a missing key aspect of the paradigm: Concepts. After a short look at the mathematical foundations, Michael explained how common use cases are simplified with Concepts. Compared to older emulation techniques before C++20, the difference is significant. Once the use of Concepts was clarified, he discussed their definition and a frequent problem with subsumption.
The main takeaway: Concepts make generic programming much easier. They transform it from a topic for experts into a tool for everyday programming.
The whole talk is available on YouTube:
About Michael Hava
Michael Hava, Senior Software Developer and C++ luminary at RISC Software GmbH, is part of the C++ Standardization Committee. He joined RISC Software in 2011 during his master studies at the University of Applied Sciences Upper Austria – Campus Hagenberg. Since then, he has promoted the adoption of modern C++ in various areas of technology. With the goal of extending this promotion to education, he returned to his former university of applied sciences as a part-time lecturer in 2016. After attending his first C++ standardization meeting in 2019, he became a founding member of the Austrian C Working Group and serves as chair of the national body. He remains in the LEWG most of the time and several of his papers are currently focused on C+26: P2495, P2548, P2697, P2819.
Michael Florian Hava, MSc
Senior Software Architect