[Webkit-unassigned] [Bug 32301] New: Add "using std::foo" rule checked by script to coding style guidelines

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 8 19:40:36 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32301

           Summary: Add "using std::foo" rule checked by script to coding
                    style guidelines
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: https://lists.webkit.org/pipermail/webkit-dev/2009-Dec
                    ember/010906.html
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P4
         Component: WebKit Website
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: chris.jerdonek at gmail.com
                CC: chris.jerdonek at gmail.com


This is a bug report to make the following changes and clarifications to the
coding style guidelines:

(1) Add this to the guidelines: Do not use statements of the form
"using std:foo" in implementation files.  Use "using namespace std"
instead.  (The script currently enforces this rule, but for header
files and not just implementation files.)

(2) Clarify that the rule to put "using namespace" statements near the
beginning of a file applies only to implementation files. (It
currently applies also to header files.)  Also, strengthen the rule so
it applies to all "using" statements in implementation files and not
just "using namespace" statements.

(The above is excerpted from an e-mail to the webkit-dev list -- linked to by
the URL for this report.)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list