|
-
January 22nd, 2010, 02:40 PM
#11
Re: Polymorphism; How to get the specific class?
 Originally Posted by Lindley
But if you derive everything from a single class, then there must be some virtual method or property that every object in your design needs to possess. Otherwise, it's fairly pointless. That isn't impossible, but it seems like it would be fairly rare.
You're imposing your lack of imagination on others, even trying to make a "C++ paradigm" out of it.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|