Maybe. Just don't forget to include final `->, `->=, `[] and `[]= too. But I noticed that this works:
class A { final int f() {return 1;} }
class B { private inherit A; }
class C { inherit B; int f() {return 2;} }
int main() { werror ("%O\n", C()->f()); }
And get_storage for A in C would still work here.
/ Martin Stjernholm, Roxen IS
Previous text:
2004-02-05 00:51: Subject: Re: Object comparision in C module
isn't it enough to define all methods with final, so they can't be replaced?
greetings, martin.
/ Brevbäraren