On quarta-feira, 2 de março de 2016 10:14:18 PST Ziller Eike wrote:
> That would break if any other code in the application (possibly in a
> different library linked to it) has e.g. using Blah = Foo<int>;
> right?
> That sounds pretty fragile. Especially if an application loads plugins.

Correct.

You cannot compare the template instantiations' meta objects across libraries. 
They will compare as if they were different classes (with the same name).

That's an ODR violation, but it's allowed because we're talking about DLLs.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

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

Reply via email to