Lecture 5 - Slide 35 : 40 |
![]() | The implementation of class Point. |
![]() | The template function compare used for Point comparison. |
Inappropriate actual type parameters are simply discovered by the compiler
Appropriateness is not expressed by inheritance relationships
Type parameter may be deduced automatically in function templates