This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: typedef-named class member functions can be public
On Jul 5, 2002, Alexandre Oliva <aoliva@redhat.com> wrote:
> For example, there's just no way to define a static data member or a
> non-inline member function of a local, anonymous or member thereof
> class, so it seems to me that it is always safe to grant such
> entities public linkage, no?
Hmm... Except that data members can't be given a definition inside
the class body, where my line of thought breaks down. Nevermind...
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer