@Nelvin: This doesn't compile it says "invalid conversion from `a*' to `aa*'"
did you mean to put aa* a1 = new aa() ? This fixes the problem and demonstrates your point.
btw...
main(){
aa* a1 = new a();
a* a2 = a1;
a2->b();
}
aa* a1 = new a();
a* a2 = a1;
a2->b();
}
did you mean to put aa* a1 = new aa() ? This fixes the problem and demonstrates your point.
btw...
There we go, I knew it was possible, just not in Max.
I take it back :-(