digitalmars.D.bugs - [Issue 18735] New: all versions of find and canfind should identify
- d-bugmail puremagic.com (21/21) Apr 05 2018 https://issues.dlang.org/show_bug.cgi?id=18735
https://issues.dlang.org/show_bug.cgi?id=18735 Issue ID: 18735 Summary: all versions of find and canfind should identify usage of predicate Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: ddoc Severity: enhancement Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: schveiguy yahoo.com In the first overload of find, it says: Elements of haystack are compared with needle by using predicate pred with pred(haystack.front, needle) This same description should be repeated in all flavors. It can be important when giving a custom predicate where the two parameters are not the same type. --
Apr 05 2018