On Oct 19, 2011, at 3:58 PM, Ryosuke Niwa wrote:

> On Wed, Oct 19, 2011 at 3:51 PM, Darin Adler <da...@apple.com> wrote:
>>>  How about classes that are only used in one cpp file? Should we be 
>>> wrapping those in an anonymous namespace?
>> I’d suggest not wrapping them in an anonymous namespace. Debugging tools 
>> work better when classes have unique names.
> 
> Has this been a convention we use?

I’m not sure how to answer that. I have not used anonymous namespaces in any 
WebKit code I contributed, and the first case of doing so that I recall was 
when Adam Barth used some in the HTML parser work.

    -- Darin

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to