Re: Re: Synopsis Question

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

>>That's right, but that defeats the purpose of the anonymous namespace to
>>deliberately hide the symbols it declares from the outside.
> 
> 
> ??
> I haven't been watching this thread carefully, but last time I checked
> anonymous namespaces don't hide anything from anybody.

Huh ? Isn't an anonymous (or 'unnamed' as per the spec 7.3.1.1) namespace
specifically provided to avoid accidental ODR violations, i.e. to make symbols
local to the file containing that anonymous namespace ?

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.