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



_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to