[Interest] Hiding a shared lib? Linux of course.
Thiago Macieira
thiago.macieira at intel.com
Thu Jul 4 22:10:01 CEST 2013
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 linking
Yes 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130704/1076baea/attachment.sig>
More information about the Interest
mailing list