0
Use of template
Guys I wanted to know what's the use of template type in c++
2 odpowiedzi
+ 8
Nice information pls have a read ;
👌
https://www.tutorialspoint.com/cplusplus/cpp_templates.htm
+ 5
"Template functions can save a lot of time, because they are written only once, and work with different types.
Template functions reduce code maintenance, because duplicate code is reduced significantly.”
Taken straight from this lesson: https://www.sololearn.com/learn/CPlusPlus/1914/