0

What are templates specifically for and what they do in c++

27th Jan 2017, 2:59 PM
Abdulaziz Dablo
Abdulaziz Dablo - avatar
3 Réponses
+ 1
they give an oppurtunity for you to specify a class to use many types in different ways but with same methods as for example a class Human with function poop I defined multiple types to use the same method as Black, white....etc
30th Jan 2017, 5:53 PM
Oussama Jaaouani
Oussama Jaaouani - avatar
0
thank you so much for the answer
30th Jan 2017, 6:42 PM
Abdulaziz Dablo
Abdulaziz Dablo - avatar
0
youre welcome
30th Jan 2017, 9:48 PM
Oussama Jaaouani
Oussama Jaaouani - avatar