CLion
 
Get CLion
You are viewing the documentation for an earlier version of CLion.

Support for C++20 Concepts

Last modified: 12 March 2021

Concepts are one of the major language features of the C++20 standard. They provide a way to put compile-time constraints on template arguments, helping you ensure the templates meet your expectations.

CLion's implementation of Concepts support is based on the Clangd engine, and it is currently a work in progress on both CLion's and Clang's ends. You can track the status and leave your feedback in the issues linked to CPP-6584.