Tag: Concepts
3 posts
-
C++20 Concepts | Making Template Error Messages Readable
C++20 Concepts: clearer errors than SFINAE/enable_if—standard concepts, requires clauses, overloads, and practical C++20 examples.
-
How to Read C++ Template Error Messages: GCC, Clang Guide
Decode C++ template errors effectively. Learn to read compiler messages, understand SFINAE notes, and use C++20 concepts to shorten error output.
-
C++20 Constraints in Practice: requires Expressions, Subsumption, and Overload Selection
How C++20 constraints actually behave: what a requires expression checks (syntax, not meaning), why only named concepts subsume each other, how constrained overloads are ranked, and the mistakes that make a concept accept the wrong types.