[Issue 9149] Disallow converting delegates to const

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed May 25 05:46:41 PDT 2016


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

--- Comment #7 from Sobirari Muhomori <dfj1esp02 at sneakemail.com> ---
(In reply to timon.gehr from comment #0)
> Reading a mutable delegate out of a const reference

For there to be mutable data accessible through a const reference, the const
qualifier should not be transitive?

--


More information about the Digitalmars-d-bugs mailing list