Sunday 22 September 2013

Using Templates in C++ Programming

I would describe about using templates in c++.

  1. functions using templates  

  2. classes using templates  

  3. Template Specialization  
    Template Specialization means that specialize your template for some particular type. eg. you define add function for integers to be integers addition but for strings it may be addition. So You need to define it seperately.

No comments:

Post a Comment