Concepts in the <concepts> Header - I

Get an overview of the concepts in the `<concepts>` header shipped with the C++ standard library.

Introduction

This lesson will provide an overview of the different kinds of concepts in the C++ standard library. However, we won’t explore all concepts, just a few important ones in the standard concepts library.

Besides the ability to write powerful concepts, C++20 also gives us more than 50 concepts as part of the standard library. They are shared across three different headers:

  • <concepts>
  • <iterator>
  • <ranges>

Get hands-on with 1200+ tech skills courses.