lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

>Without the actual layout, it's unlikely that you could inherit from it.
>Also I'm not completely convinced that C++ allows you to inherit a class
>from a struct, although I could be wrong there too.
structs and classes are exactly the same in C++ (except that members of a struct are public by default, and members of a class are private by default)