J
Johs
I have read that when you are using templates you are making generic
programs. But I don't see whats so generic about templates. You can make
generic programs without templates through the use of function overload and
the virtual functionality.
As I understand when you use templates you just increase the runtime
performance since the code is resolved at compile time. How come people are
mixing templates with generic programming when all they actually do is
increase runtime performance?
programs. But I don't see whats so generic about templates. You can make
generic programs without templates through the use of function overload and
the virtual functionality.
As I understand when you use templates you just increase the runtime
performance since the code is resolved at compile time. How come people are
mixing templates with generic programming when all they actually do is
increase runtime performance?