cpp_interface.html:
> a D interface with the attribute of extern (C++) will have a virtual function
> pointer table (vtbl[]) that exactly matches C++'s [...] in C++ the first
> entry points to the first virtual function.
extern (C++) interface A { void foo(); void bar(); }
A a = ...;
So calling a.foo() should call vtbl[0], instead D calls vtbl[1] as if it where a normal D interface.
Comment #1 by niqbmozgvx — 2007-11-23T11:08:02Z
*** This bug has been marked as a duplicate of 1687 ***