what was wrong with struct & class in C++?

Walter Bright newshound1 at digitalmars.com
Thu Dec 13 13:15:28 PST 2007


Yigal Chripun wrote:
> for me, the distinction between PODs and "objects" should be the 
> polymorphic behavior, not the size of it (maybe i didn't explain myself 
> properly). Am i completely wrong here?

You're right. Any object designed for inheritance or polymorphism should 
properly be a reference type.



More information about the Digitalmars-d mailing list