Statements (24)
Predicate | Object |
---|---|
gptkbp:instanceOf |
Programming Language Feature
|
gptkbp:category |
Compile-time feature
|
gptkbp:enables |
gptkb:Template_metaprogramming
Generic programming Cleaner template code |
gptkbp:example |
concept Integral = std::is_integral_v<T>;
|
gptkbp:hasSyntax |
concept <name> = <constraint>;
|
https://www.w3.org/2000/01/rdf-schema#label |
C++ Concepts
|
gptkbp:improves |
Template error messages
|
gptkbp:introducedIn |
gptkb:C++20
|
gptkbp:partOf |
gptkb:C++
|
gptkbp:purpose |
Specify constraints on template parameters
|
gptkbp:relatedTo |
gptkb:C++_Templates
Type traits SFINAE |
gptkbp:standardizedBy |
gptkb:ISO/IEC_14882:2020
|
gptkbp:supportedBy |
gptkb:GCC
gptkb:Clang gptkb:MSVC |
gptkbp:usedFor |
requires clause
template parameter lists |
gptkbp:bfsParent |
gptkb:C++_Standard_Library_iterators
gptkb:C++20_Ranges |
gptkbp:bfsLayer |
8
|