Hi all,
I would like to know in what situation template is used instead of inheritance and vice visa. examples are appreciated.
I just know template is static binding while inheritance is dynamic binding. so if speed is concern, template is better.