Advanced C++
Q67 / 100

What are C++20 concepts?

Correct! Well done.

Incorrect.

The correct answer is B) Named compile-time constraints on template type parameters, replacing complex SFINAE

B

Correct Answer

Named compile-time constraints on template type parameters, replacing complex SFINAE

Explanation

Concepts (requires Integral<T>) provide readable constraints on template parameters. They produce clear error messages and replace intricate enable_if/SFINAE patterns.

Progress
67/100