Function template

Function template

A function template defines a family of functions.

Syntax

template < parameter-list > function-declaration (1)
export template < parameter-list > function-declaration (2) (until C++11)
function-declaration-with-placeholders (3) (concepts TS)

Explanation

登录查看完整内容