Difference between revisions of "User:Shuming Lin"

From CDOT Wiki
Jump to: navigation, search
Line 19: Line 19:
  
 
  <u>template <typename 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.
 
=='''Open Source'''==
 
=='''Open Source'''==
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.
+
open source as a development model promotes a universal access via a free license to a product's design or blueprint, and universal redistribution of that design or blueprint, including subsequent improvements to it by anyone
  
 
<u>more information see my blog</u>
 
<u>more information see my blog</u>

Revision as of 23:13, 29 October 2014


OOP344 | Weekly Schedule | Student List | Teams | Project | Student Resources

Welcome to My Wiki Page

  Owner: Shuming Lin


My Major

CPD

C++

templates The format for declaring function templates with type parameters is:

template <class identifier> function_declaration;
template <typename identifier> function_declaration;

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.

Open Source

open source as a development model promotes a universal access via a free license to a product's design or blueprint, and universal redistribution of that design or blueprint, including subsequent improvements to it by anyone

more information see my blog

Contact Information

slin44@myseneca.ca

kevin.shuminglin@gmail.com