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

RazvanN <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from RazvanN <[email protected]> ---
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.

--

Reply via email to