Templates

A template is a C++ entity that defines one of the following:

# Defect reports

DRApplied toBehavior as publishedCorrect behavior
CWG 2293C++98the rules of determining whether a templateidentifier is valid were not providedprovided
CWG 2682C++98C++14the definitions of templated function/template class(C++98)/templated variable (C++14) were missingadded
P2308R1C++98two template identifiers were different if theircorresponding non-type template argumentsare not template-argument-equivalentthey are different if their correspondingnon-type template parameter valuesare not template-argument-equivalent

# See also