31 Dec
2015
31 Dec
'15
8:12 p.m.
On 2015-12-31 22:56, Rob Stewart wrote:
On December 31, 2015 9:59:43 AM EST, "Agustín K-ballo Bergé"
wrote: However, for Boost.Thread to start dumping stuff in the global namespace sounds like a regression to me.
Doesn't using extern "C" mean the name is in the global namespace? Did I miss something?
IOW, putting the declaration in a namespace or not has no effect on the generated symbols or name lookup.
Name lookup is not affected by the linkage type, so you still have to qualify the call to extern "C" functions with the namespace(s) they're declared in. The linkage type may affect name mangling and calling conventions, but that is almost outside of the scope of the standard.