samedi 11 mars 2017

Code to force virtual call on object pass by value?

Is there any code to force a compiler to perform a virtual call even on object pass by value so as to prove that if virtual method will be used on object passed by value program will crash probably due to object slicing...

Aucun commentaire:

Enregistrer un commentaire