Do c++ templates make programs slow ?
- by user293398
Hi,
I have heard from many people that usage of templates make the code slow. Is it really true. I'm currently building a library. There are places where if templates are not created, it would result in code management problem. As of now I can think two solutions to this problem:
o use #defines
o Use templates and define all possible types in…