const/immutable on delegates

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


On 07/03/2015 03:18 AM, deadalnix wrote:
> On Friday, 3 July 2015 at 00:26:40 UTC, 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.
>>
>
> http://wiki.dlang.org/DIP30

That's overkill.


More information about the Digitalmars-d mailing list