News for hackers. Stuff that matters.
Re:Type Casting Verification: Stopping an Emerging Attack Ve... by AnimalMuppet on Thursday August 13, 2015 @02:15PM (#10056143)
> Type casting, which converts one type of an object to another, plays an essential role in enabling polymorphism in C++ because it allows a program to utilize certain general or specific implementations in the class hierarchies...

What? No. C++ polymorphism doesn't work based on type casting, it works based on virtual functions. Type casting would mean you were using some kind of "switch on type" scheme. That's not polymorphism. That's what polymorphism is supposed to replace.

There are no comments on this comment yet.