Re: Re: Synopsis Question

Stefan Seefeld <[email protected]>
Newsgroups gmane.comp.documentation.synopsis
Message-ID <[email protected]>
Luke Petre wrote:

> Ok, so I looked at the ErrorHandler.cc problem again.  Here is a shorted 
> version of the code, I added comments to the offending bits:

Thanks for looking into this ! Does the file compile if you simply
replace '::callback' by 'callback' everywhere, i.e. don't qualify
'callback' any more ?

> If I change the offending code to:

[...]

> Now there aren't any anonymous namespaces.  Everything is living happily 
> under the Synopsis namespace.

That's right, but that defeats the purpose of the anonymous namespace to
deliberately hide the symbols it declares from the outside.

Regards,
		Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.