[Webkit-unassigned] [Bug 190819] New: inline constexpr is redundant as constexpr implies inline

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 22 21:37:58 PDT 2018


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

            Bug ID: 190819
           Summary: inline constexpr is redundant as constexpr implies
                    inline
           Product: WebKit
           Version: WebKit Local Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dbates at webkit.org

As per [dcl.constexpr] (2), "constexpr functions and constexpr constructors are implicitly inline" (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3797.pdf). So, it is sufficient to annotate a function with "constexpr" instead of annotating with "inline constexpr".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181023/640754db/attachment.html>


More information about the webkit-unassigned mailing list