Struct spec question

BCS ao at pathlink.com
Fri Jul 20 09:18:11 PDT 2007


Reply to Bill,

> Lars Ivar Igesund wrote:
> 
>> What is meant by the comparison table on the struct page, when it is
>> said that classes can have hidden members, whereas structs cannot,
>> and at the same time, structs can have member protection. That is,
>> what is the meaning of hidden members and member protection
>> respectively, seen in conjunction with each other?
>> 
> Maybe it's talking about the _vtbl pointer of a class?
> 
> --bb
> 


That would be my guess. 

struct: If you don't say to put it there, it's not there. 
Class: no such luck, class vtbl + interface vtbl's + mutex + whatever W wants




More information about the Digitalmars-d-learn mailing list