Changes

Jump to: navigation, search

User:Shuming Lin

16 bytes added, 00:29, 25 November 2012
no edit summary
The format for declaring function templates with type parameters is:
<u>template <class identifier> function_declaration;</u>  <u>template <typename identifier> function_declaration;</u>
The only difference between both prototypes is the use of either the keyword class or the keyword typename. Its use is indistinct, since both expressions have exactly the same meaning and behave exactly the same way.

Navigation menu