[temp.fct.general] (original) (raw)
13 Templates [temp]
13.7 Template declarations [temp.decls]
13.7.7 Function templates [temp.fct]
13.7.7.1 General [temp.fct.general]
A function template defines an unbounded set of related functions.
[Example 1:
A family of sort functions can be declared like this:template<class T> class Array { };template<class T> void sort(Array<T>&);
— _end example_]
[Note 1:
A function template can have the same name as other function templates and non-template functions ([dcl.fct]) in the same scope.
— _end note_]
A non-template function is not related to a function template (i.e., it is never considered to be a specialization), even if it has the same name and type as a potentially generated function template specialization.115