Previous Lecture | lect13 | Next Lecture |
The topics covered today are relevant for lab05.
Topics
- Practice using custom key types with set ADT and note the need to overload the relational operators (< and ==)
- Writing generic functions and classes with templates
- Why and when should you use templates?
- What is the difference between templates and typedefs
- Use of the keyword typename.
- Convert a class implementation of linked list to use templates.