
Episode 98: The Future of C++ with Sean Baxter (Part 2)
ADSP: Algorithms + Data Structures = Programs
00:00
C++ 20 Concepts
C++ 20 gives you a concept definition or declaration, which is like a variable template. It's got a bool value and it's true or false. And it also gives youlike a requires expression, which is the same thing, but inside an expression. These are mechanisms that use the same keywords as C ++ OX concepts,. But they just work as like normal language features. They don't lock you into this alternative system of early type checking. The interfaces I've written, it's like a class specifier. You can pass that around as a concept parameter. So you can use that in a requires clause. You can use that to constrain a placeholderparameter. You can
Play episode from 20:49
Transcript


