RESOLVED FIXED 185306
Add OptionSet::operator& and operator bool
https://bugs.webkit.org/show_bug.cgi?id=185306
Summary Add OptionSet::operator& and operator bool
Antti Koivisto
Reported 2018-05-04 10:52:41 PDT
This is primarily to allow writing if (options & Option:A) instead of if (options.contains(Option:A)) It is consistent with other OptionSet operators.
Attachments
patch (12.15 KB, patch)
2018-05-04 10:58 PDT, Antti Koivisto
no flags
Antti Koivisto
Comment 1 2018-05-04 10:58:48 PDT
Anders Carlsson
Comment 2 2018-05-08 17:33:31 PDT
Comment on attachment 339565 [details] patch OK.
WebKit Commit Bot
Comment 3 2018-05-09 00:05:52 PDT
Comment on attachment 339565 [details] patch Clearing flags on attachment: 339565 Committed r231548: <https://trac.webkit.org/changeset/231548>
WebKit Commit Bot
Comment 4 2018-05-09 00:05:53 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5 2018-05-09 00:06:42 PDT
Note You need to log in before you can comment on or make changes to this bug.