C++ templates

GPTKB entity

Statements (35)
Predicate Object
gptkbp:instanceOf gptkb:programming_language
gptkbp:enables generic programming
code reuse
compile-time polymorphism
gptkbp:hasSyntax template <class T> ...
template <typename T> ...
https://www.w3.org/2000/01/rdf-schema#label C++ templates
gptkbp:introducedIn gptkb:C++98
gptkbp:limitation difficult debugging
code bloat
error messages can be complex
longer compile times
gptkbp:relatedTo gptkb:C++_Standard_Template_Library
concepts
constexpr
type traits
CRTP
SFINAE
gptkbp:standardizedBy gptkb:ISO_C++_standard
gptkbp:supports template metaprogramming
template specialization
variadic templates
default template arguments
non-type parameters
template template parameters
type parameterization
gptkbp:usedFor algorithms
class templates
function templates
container classes
gptkbp:usedIn gptkb:C++
gptkbp:bfsParent gptkb:C++_language_specification
gptkb:Generic_Java
gptkb:Java_(generics)
gptkbp:bfsLayer 7