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