[webkit-dev] Style guide should mention that we don't use anonymous namespace
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
> > our only alternative to unnamed namespace is nested classes, then I'd
> > prefer unnamed namespace.
> > Adam, do you recall any compiler/debugger issues with classes inside
> > 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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev