Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 1.48 KB

what-has-cpp20-ever-done-for-templates.md

File metadata and controls

21 lines (13 loc) · 1.48 KB

What Has C++20 Ever Done For Templates?

Author

Hendrik is a C++ developer and works on software for analysis of pipeline inspection results. This includes topics like machine learning, numerical mathematics and distributed computing. Before this he completed his PhD in physics at the University of Osnabrück with a thesis about quantum mechanics and + numerical simulations where he got to know and love programming and complex, mathematical tasks. His favorite programming languages, in which he also has the most experience, are C++ and Rust. He describes himself as a "learning enthusiast" who always gets absorbed in trying out new things. Therefore, he values being up to date with programming languages and using the latest features of them in a meaningful way.

Twitter Profile

Abstract

The answer is a lot! There are some smaller features like more possibilities for non-type template parameters (literal class types and floating points are now possible) and lambda expressions now allow template type parameters in their definition. But the biggest feature is clearly concepts, which allow us to easily define requirements on template arguments, which are enforced by the compiler.

This talk will give a tour of the new features of templates in C++20 and will discuss how the new features work and what they can be used for.

Video

What Has C++20 Ever Done For Templates?