Leopold Toetsch writes: > Nicholas Clark <[EMAIL PROTECTED]> wrote: > > Could we split the vtable further, so var/value by read/write, which would > > allow constant objects to swap their write vtable to a throw implementation. > > Did I misread what you were suggesting either in this message or later, and > > you were suggesting this split? > > I'm suggesting exactly this split. Or lets say pmc2c.pl knows that e.g. > [FETCH] is a read and [STORE] is a write, which will get a throw > implementation for the Const$Class. > WRT var/value split, I think only FETCH/STORE get duplicated in both > sections.
Ok, so supposing this split happens, what would it look like? As in, would there now be two vtables, one for variables and one for values? Would it just be a logical split? Thanks, Luke