Advantages of Concepts
Get familiar with the advantages of the concepts.
We'll cover the following...
We'll cover the following...
More generally, what are the advantages of concepts?
Advantages
- 
Requirements for template parameters are part of the interface. 
- 
The overloading of functions and specialization of class templates can be based on concepts. 
- 
Concepts can be used for function templates, class templates, and generic member functions of classes or class templates. 
- 
You get improved error messages because the compiler compares the requirements of the template parameters with the given template arguments. 
- 
You can use predefined concepts or define your own. ...