+ 7
are templates hard to understand in c++
hard understending
2 Answers
+ 7
No.
0
No, they're quite easy to understand. It's an easy way to create generic functions and classes, meaning that you don't have to strongly type argument and return variables. So int function(); would become T function() ;, which returns any type, basically