Introduction

Let’s get an overview of using concepts with C++ classes.

We'll cover the following...

Recap

In the previous chapter, we learned to use concepts with function templates and now we’ll use them with class templates. We learned there are four ways to use concepts:

  • The requires clause
  • The trailing requires clause
  • Constrained template parameters
  • Abbreviated
...