[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: AW: Lua state as a C++ class ...
- From: "Peter Prade" <prade@...>
- Date: Thu, 13 Jun 2002 12:27:29 +0200
>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)