Anonymous Namespaces
Geoff Keating
geoffk@geoffk.org
Sun Feb 1 03:01:00 GMT 2004
This is discussed in
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10591>
The answers to the question you really meant to ask is "no, there is
no reason to make a function in an anonymous namespace visible outside
the current .o file, or for that matter any object that can't be declared
without using a name that refers to the anonymous namespace."
--
- Geoffrey Keating <geoffk@geoffk.org>
More information about the Gcc
mailing list