On quinta-feira, 4 de julho de 2013 20.11.28, Allan Sandfeld Jensen wrote:
> Not necessarily I think. Wouldn't it be possible to let the headers declare
> the namespaced classes 'using'?
>
> For instance:
>
> namespace Qt6 {
> class QString;
> }
>
> using Qt6::QString.
>
> This would mean the QString would still work in the global namespace when
> building but would be in the Qt6 namespace when linkingYes and no. There may be side-effects, especially when it comes to templates (because of Argument-Dependent Lookup). -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
