WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 163713
Add convenience function that combines WTF::visit(...) with WTF::makeVisitor(...)
https://bugs.webkit.org/show_bug.cgi?id=163713
Summary
Add convenience function that combines WTF::visit(...) with WTF::makeVisitor(...
Sam Weinig
Reported
2016-10-19 17:41:36 PDT
Add convenience function that combines WTF::visit(...) with WTF::makeVisitor(...)
Attachments
Patch
(9.43 KB, patch)
2016-10-19 17:48 PDT
,
Sam Weinig
mitz: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2016-10-19 17:48:08 PDT
Created
attachment 292133
[details]
Patch
Sam Weinig
Comment 2
2016-10-19 17:51:39 PDT
I went with WTF::switchOn(...) for this, but other names that were considered were: attend() walk() switchOver() route() choose() access() vary() match() pick() My top two favorites were switchOn(...) and match(...).
Sam Weinig
Comment 3
2016-10-20 11:30:12 PDT
Committed
r207627
: <
http://trac.webkit.org/changeset/207627
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug