-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
findfirst dispatches on ::Function #49085
Copy link
Copy link
Open
Labels
breakingThis change will break codeThis change will break codesearch & findThe find* family of functionsThe find* family of functionsspeculativeWhether the change will be implemented is speculativeWhether the change will be implemented is speculative
Metadata
Metadata
Assignees
Labels
breakingThis change will break codeThis change will break codesearch & findThe find* family of functionsThe find* family of functionsspeculativeWhether the change will be implemented is speculativeWhether the change will be implemented is speculative
This function dispatches on
Functionto avoid ambiguity with thepatternmethod, so it is not generic to callable types. This seems like it should be two functions: one that takes a predicate and one that takes a pattern.