Ankur N Shah

Author Details

1. Ankur narendrabhai shah

Author Statistics

Views : 709

Downloads : 214


Article Statistics

0
This article cited by 0

Search By Keyword

Class template
multiple parameters

Article File

PDF

Introduction to templates

Author : Ankur narendrabhai shah

Keyword : Class template, multiple parameters

Subject : Science and technology

Article Type : Review article

Article QR Code

Introduction to templates QR Code

Article File : Full Text PDF

Abstract : Templates allow us to define generic class and function. So it supports 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. A template can be used to create a family of classes or functions. For example, it can be used with class like student etc and it also can be used for function mul() etc. A template is also known as a kind of macro. Whenever template is created for any class it required substituted data types. Since template is define with a parameter for classes or functions so it is sometime called as parameterized classes or functions. The main aim of this thesis is to show various ways to use template either with function or class.

Article by : Ankur N Shah

Article add date : 2020-12-01


How to cite : Ankur narendrabhai shah. (2020-December-01). Introduction to templates. retrieved from https://www.openacessjournal.com/abstract/378