The C++11 standard makes a couple of passing mentions to "function prototypes".
There are not in any definitions of the relevant features, but in random places like:
- "function prototype scope" in
[C++11: 3.3.4]
(whose definition actually admits it's talking about "function declarations"); - an editorial description of the library type definition clauses in
[C++11: 17.5.1.4/1]
, footnote175
(which seems to be referring to the C functionality); [C++11: 20.9.4.3/6]
which describes the hypotheticaltemplate <T> typename add_rvalue_reference<T>::type create();
as "a function prototype".- the same thing at
[C++11: 20.9.6/4]
; - appendix
[C++11: C.1.7]
which talks about declarators in C: "The function declarations using C incomplete declaration style must be completed to become full prototype declarations, then later "Rationale: Prototypes are essential to type safety".
... and that's it.
Surely, we are set on the "declaration"/"definition" terminology and, since the C++ standard does not use the "prototype" terminology in its core definitions, these are merely typos/inconsistencies, introduced because some editors are familiar with C terminology?
Or is there some subtle meaning I'm missing?