What are the advantages of using templates and what are the advantages of using inheritance? and what is better?
I read in some sources that sometimes prefer to use "templates", whereas sometimes prefer to use "inheritance" (Polymorphism). When do we want to use what? And why?
Aucun commentaire:
Enregistrer un commentaire