...

/

Concluding Concepts

Concluding Concepts

Conclusion of Concepts.

We'll cover the following...

🔑 Concepts in C++20: an evolution or a revolution?

This small detour expresses my opinion. First, I present the facts, then I draw my conclusion. The facts are based on what has been presented in this chapter. So which arguments speak for evolution or for revolution?

Evolution

  • Concepts promote working with generic code at a higher level of abstraction.
  • Concepts give you understandable error messages when compiling a template fails. They provide nothing you could not achieve with the type-traits library, SFINAE, and sta
...