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