A template is one of the features added to C++. It is a new concept that enables us to define generic classes and functions and thus provides support for generic programming. Generic programming is an approach where generic types are used as parameters in algorithms so that they work for a variety of suitable data types and data structures.

Templates – C++ Programming

In this “Templates – C++ Programming” you will learn about the following topics:

  1. Introduction of Templates
  2. Class Template
  3. Class Template with Multiple Parameters
  4. Function Template
  5. Overloading Function Template
  6. Standard Template Library (STL)
  7. Components of Standard Template Library
  8. Container, Algorithm, Iterators



==== Point to Note ====

If you like to contribute, you can mail us BCA Notes, BCA Question Collections, BCA Related Information, and Latest Technology Information at [email protected].

See your article appearing on BCA Notes (Pokhara University) main page with your designation and help other BCA Students to excel.

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

BCA 3rd Semester C++ Programming Notes Pdf: