[Webkit-unassigned] [Bug 185306] New: Add OptionSet::operator& and operator bool

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 4 10:52:41 PDT 2018


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

            Bug ID: 185306
           Summary: Add OptionSet::operator& and operator bool
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: koivisto at iki.fi

This is primarily to allow writing

    if (options & Option:A)

instead of

    if (options.contains(Option:A))

It is consistent with other OptionSet operators.

-- 
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/20180504/7bd77bc9/attachment.html>


More information about the webkit-unassigned mailing list