[webkit-dev] Style guide should mention that we don't use anonymous namespace

Ryosuke Niwa rniwa at webkit.org
Wed Oct 19 18:56:15 PDT 2011


On Wed, Oct 19, 2011 at 6:32 PM, Adam Barth <abarth at webkit.org> wrote:

> On Wed, Oct 19, 2011 at 6:24 PM, Ryosuke Niwa <rniwa at webkit.org> wrote:
> > Also... VC++'s debugger happens to have some issues around unnamed
> > namespaces:
> > http://msdn.microsoft.com/en-us/library/0888kc6a%28VS.80%29.aspx
> >
> > Don't recall if this affected classes inside unnamed namespace though.
> > I think VC++ 2005's support for unnamed namespace is better than nested
> > classes (cl.exe has some serious bugs in resolving nested class names) so
> if
> > our only alternative to unnamed namespace is nested classes, then I'd
> much
> > prefer unnamed namespace.
> > Adam, do you recall any compiler/debugger issues with classes inside
> unnamed
> > namespace on VC++ 2005?
>
> Nope, but I haven't used VC 2005 in many years.
>

Oops, sorry I meant to cc A. Roben. Adam (R), do you remember any issues
with unnamed namespace?

- Ryosuke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20111019/185016d5/attachment.html>


More information about the webkit-dev mailing list