C++ Concepts

By , last updated November 8, 2017

Concepts will be a new feature in C++. At the time of writing, concepts did not make it into the upcoming C++17 standard. There is a slight chance concepts will be available in C++20. To begin with, concepts where supposed to be in the C++11 standard. But it did miss that train a long while ago.

Before you can do any testing with concepts, you’ll need to have a concepts enabled compiler. Concepts will be a very powerful feature when it’s generally available. At the time of writing, only 1 compiler supports a `Concepts Lite` version of the concepts, namely version 6.0 and later of the GCC compiler.

And you have to build it yourselves, on Linux or any other supported system.

The information is based upon paper N4549 (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4549.pdf), which concepts are defined in.

Chapters:


Professional Software Developer, doing mostly C++. Connect with Kent on Twitter.

Comments

Be the first to comment.

Leave a Reply


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*