Art, asked by vaibhavtijare736, 1 year ago

What is template? Name the type of template

Answers

Answered by adarshUpadhyay2020
5

Function templates are special functions that can operate with generic types. ... name instead of myType because it is shorter and in fact is a very common template parameter name.

Answered by Mehakjannat01
5

Answer:

Explanation:

1.a shaped piece of rigid material used as a pattern for processes such as cutting out, shaping, or drilling.

2. a timber or plate used to distribute the weight in a wall or under a support.

Name the type of template

I'm writing some template classes for parseing some text data files, and as such it is likly the great majority of parse errors will be due to errors in the data file, which are for the most part not written by programmers, and so need a nice message about why the app failed to load e.g. something like

I can work out the file, section and key names from the arguments passed to the template function and member vars in the class, however I'm not sure how to get the name of the type the template function is trying to convert to

Similar questions