const/immutable on delegates

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 2 19:13:39 PDT 2015


On 07/03/2015 02:26 AM, Tofu Ninja wrote:
> So this idea spawned from a thread I posted over in learn[1]. Similar to
> how you can mark a member function as const or immutable, there should
> be a way to mark a delegate as const or immutable.
>...
>
> Thoughts?
>

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



More information about the Digitalmars-d mailing list