Monday, 18 May 2020

Concepts have come to C++ 20

Concepts are an extension to templates. They are compile-time-evaluated predicates on template parameters. Their origins lie in discussions around C++11 and are now a required part of C++20. MSVS 2019 version 16.3 supports concepts and links to their formal description. Stroustrop has also blogged on this topic.

No comments: