I would like to implement following interfaces so whatever that inherits from iB
would be able to use both methodA()
and methodB()
and whatever that inherits only iA
would not have access to methodB()
on C++. Seems like very standard interface inheriting another interface.
However, I get an error building stating that "a standard class cannot derive from a managed class"
__interface iA
{
methodA();
}
__interface iB : iA
{
methodB();
}
Does anybody have any clue on how I can resolve this issue?
EDIT : I am using managed C++. However, why would iB become standard and iA become managed?