Changes

Jump to: navigation, search

User:Shuming Lin

16 bytes added, 23:29, 24 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