| < Day Day Up > |
|
In your own words explain what static polymorphism is and how it is achieved in C++ using function and class templates.
In your own words give a definition of a template.
How are function templates related to overloaded function?
How are places reserved in source code for type substitution?
How many type placeholders can a function or class template declare?
If the number of type placeholders declared in a function template is greater than the number of function parameters, how can the type of extra placeholders be specified when the function is called?
Why is it a good idea to group the declaration and definition of a class or function template in one header file?
Is it necessary to group the declaration and definition of a class or function template in one header file?
What is the purpose of an STL container adapter?
What are iterators and how are they related to pointers? What's the purpose of an iterator? What benefits do you gain from using iterators to manipulate container elements vs. other iterative methods.
| < Day Day Up > |
|