Computer Vision Library in D
ag0aep6g via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Tue Apr 19 14:42:19 PDT 2016
On 19.04.2016 19:01, Relja Ljubobratovic wrote:
> [1] https://github.com/ljubobratovicrelja/dcv
You've got a bad @trusted here:
https://github.com/ljubobratovicrelja/dcv/blob/3b7e4908bfb535536f4b71862239ee071d22461d/source/dcv/core/algorithm.d#L23
You're trusting Range's empty, front, and popFront, but they may be
unsafe. You're also trusting arbitrary code that's passed in via comparator.
More information about the Digitalmars-d-announce
mailing list