Previous Lecture | lect12 | Next Lecture |
Code written in class
https://github.com/ucsb-cs24-f19-nichols/code-from-class/tree/master/11-07
Written notes
Go here and select the appropriate date: https://1drv.ms/o/s!AlgIeD1urAgmgQlHpyss6qfDD-Xm
Topics
- Writing generic fucntions 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 BST to use templates.