[webkit-dev] Style guide should mention that we don't use anonymous namespace
aroben at apple.com
Thu Oct 20 05:18:01 PDT 2011
On Oct 19, 2011, at 9:56 PM, Ryosuke Niwa wrote:
> 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?
I don't, but that's mostly because we don't use them much so I don't have much experience with them!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev