Public interface objects should be reference counted with a protected virtual destructor.
There are no issues with overloaded functions, though they do complicate the mapping from object method to flat function names. On balance, it's probably best to avoid them. Rtti is intended to salvage badly designed systems whose "designers" have painted themselves into corners. > On Jul 22, 2014, at 7:41 AM, Dmitry Yemanov <firebi...@yandex.ru> wrote: > > 21.07.2014 18:04, Alex Peshkoff wrote: > >> Ahh - it's related with multiple inheritance and rtti. Luckily we do not >> use both in interfaces. > > Just for clarity - besides that, we must neither use virtual destructors > nor overloaded methods to guarantee the stable vtable layout. > > > Dmitry > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > Firebird-Devel mailing list, web interface at > https://lists.sourceforge.net/lists/listinfo/firebird-devel ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel