are templates hard to understand in c++ | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 7

are templates hard to understand in c++

hard understending

25th May 2018, 6:20 AM
it371
it371 - avatar
2 Respostas
+ 7
No.
25th May 2018, 6:43 AM
Hatsy Rei
Hatsy Rei - avatar
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
21st Jun 2018, 7:58 AM
Atlas