All~
Perhaps I am missing something in this discussion, but wouldn't it be possible to have the vtable within a PMC be layered rather than the PMC itself.
There are two problems with that (though I did think about it for a while):
1) It means that each layering on each PMC needs to have a full vtable copy, which is somewhat expensive in memory and setup time.
2) It means that each layer can't have its own private data attached to the PMC. Which isn't a deal-breaker, certainly, but it does limit the layering somewhat. (Though there are still properties that could be exploited for this purpose)
-- Dan
--------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk