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

Darin Adler darin at apple.com
Wed Oct 19 15:51:53 PDT 2011


On Oct 19, 2011, at 3:47 PM, Ryosuke Niwa 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.

Can anyone name a single time in the entire history of the WebKit project where we had a problem with class name collision?

    -- Darin



More information about the webkit-dev mailing list