[Development] Applications using -fno-rtti
Thiago Macieira
thiago.macieira at intel.com
Sun Jun 21 18:08:04 CEST 2020
On Sunday, 21 June 2020 05:35:20 PDT Konstantin Ritt wrote:
> I, for example, didn't know the issue with dynamic_cast across dll
> boundaries is not an issue anymore.
It's never been.
What changed is our understanding of how to make it work across DLL
boundaries. The answer is: ALL classes with virtuals must be exported and must
have one non-inline virtual member.
This includes templates.
Corollary: templates with virtual should be avoided at all costs.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel System Software Products
More information about the Development
mailing list