[Webkit-unassigned] [Bug 195257] New: Allow passing StringView to HashMap<String, T>::find

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 3 09:49:30 PST 2019


            Bug ID: 195257
           Summary: Allow passing StringView to HashMap<String, T>::find
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com
                CC: dbates at webkit.org

Splitting this out from bug #195247. Dan wants to use template magic to be able to use StringView to interact with a HashMap keyed on String:

> Even better, as I type this I could swear we
> solved this issue with template magic and made it so you could pass
> StringView to HashMap::find(). Can you check? I think we call this magic a
> HashTranslator or adapter and there is a template overload of
> HashMap::find(). And if we don’t have such magic because we are missing the
> HashTranslator for StringView then please either add it OR file a bug so
> that we can add it.

(It doesn't work, currently.)

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/20190303/7193a315/attachment.html>

More information about the webkit-unassigned mailing list