Class member overloading..?
Posted: Sat Feb 03, 2007 4:04 pm
Hi..I'm wondering if you can do something like this:
I have code like that to similar effect in my project, and it compiles fine, but whenever a function is called that addressed the ICameraSceneNode Node, the program "encounters an unexpected error and has to close".
If it's not possible, can anyone give any suggestions to workarounds?
Code: Select all
class a
{
public:
ISceneNode* Node;
}
class b : public a
{
public:
ICameraSceneNode* Node;
}
I have code like that to similar effect in my project, and it compiles fine, but whenever a function is called that addressed the ICameraSceneNode Node, the program "encounters an unexpected error and has to close".
If it's not possible, can anyone give any suggestions to workarounds?