This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Anonymous Namespaces
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Kevin Atkinson <kevina at gnu dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: 31 Jan 2004 19:01:44 -0800
- Subject: Re: Anonymous Namespaces
- References: <Pine.LNX.4.44.0401310423440.9455-100000@kevin-p3.atkinson.dhs.org>
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>