The Hacks of Life
Wednesday, February 28, 2007
C++ Objects Part 5: Virtual Base Classes
›
A virtual base class is a class that is included only once in your derived class no matter how many base classes refer to it. How does this...
1 comment:
Tuesday, February 27, 2007
C++ Objects Part 4: typeid and casts
›
Now that we have described how multiple inheritance in CodeWarrior C++ works, we can look at how casting and type works in C++. We needed t...
3 comments:
Monday, February 26, 2007
C++ Objects Part 3: Multiple Inheritance
›
In my previous post I described how single inheritance works with the CodeWarrior C++ compiler - by placing the superclass as the first item...
3 comments:
Saturday, February 24, 2007
C++ Objects Part 2: Single Inheritance
›
In my previous article I described the basic layout of a C++ object in Metrowerks CodeWarrior, with a pointer in the object to a static tabl...
2 comments:
Friday, February 23, 2007
C++ Objects Part 1: Basic Object Memory Layout
›
I spent a few minutes dissecting the C++ internal runtime structure for objects within Metrowerks CodeWarrior. There's some internal gu...
Virtual Base Class - Not Needed for Interfaces
›
I was going to argue that virtual base classes are logical for interfaces, because we really only need each interface once. E.g.: class IDe...
Tuesday, February 20, 2007
Inherit the Wind
›
Usually I post here after concluding something, usually after a discussion. But this post is the part that comes first - groping with the u...
‹
›
Home
View web version