On 2014-09-13 03:36, Manu via Digitalmars-d wrote:

Yeah, but that's true regardless of C++ interop. It's so easy to make
mistakes, and so hard to find them when you do. virtual-by-default is
responsible for most of the silent errors in my code by far.
Surely, at very least, an extern(C++) class should be final-by-default?

We have showed how you can workaround that with a @virtual UDA. Forcing all methods to be either marked "final" or "@virtual".

--
/Jacob Carlborg

Reply via email to