[Webkit-unassigned] [Bug 28393] New: check-webkit-style: add check for use of std::max()/std::min() instead of MAX()/MIN()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 17 10:20:41 PDT 2009


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

           Summary: check-webkit-style: add check for use of
                    std::max()/std::min() instead of MAX()/MIN()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ddkilzer at webkit.org


* SUMMARY
The std::max() and std::min() template methods should be preferred over the
MAX()/MIN() macros since they're typesafe and since they may be used to
automatically static_cast<>() their arguments using the std::max<type>() and
std::min<type>() variants.

* NOTES
See Bug 28355.

-- 
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