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+
Sam Weinig
Comment 1 2016-10-19 17:48:08 PDT
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
Note You need to log in before you can comment on or make changes to this bug.