Re: Re: Synopsis Question

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

>>
>>It could, without the anonymous namespace, still be referenced ('forward declared')
>>as 'extern', and the linker would resolve it. With anonymous namespaces the
>>linker will complain.
> 
> 
> Yes.  I can't envision how you'd create that secenario in a useful
> program, though.

Involuntarily, i.e. by accident (it is amazing how many libraries applications are
linked to these days !).

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.