[Issue 20298] Passing field alias to alias predicate doesn't work, predicate needs explicit instantiation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 15 12:37:10 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=20298

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305 at gmail.com

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
Isn't the real bug here the fact that calling ipred passes compilation? As far
as I could tell the lambda template instantion is inside the scope of the S
struct => you cannot call it from fun, since fun may call only const functions
and pred is mutable.

--


More information about the Digitalmars-d-bugs mailing list