On 09/17/2010 04:55 PM, Steven Schveighoffer wrote:
On Fri, 17 Sep 2010 17:33:11 -0400, Andrei Alexandrescu <seewebsiteforem...@erdani.org> wrote:I think clear() can be fixed if we remove the call to the constructor AND obliterate the vptr.agreed.In fact ideally we'd obliterate all vptrs of the object, which might be tricky. Ideas?There's only one vptr, no?
One global (at the beginning of the object) plus one per implemented interface.
Andrei