named arguments, string interpolation, please stop.

Walter Bright newshound2 at digitalmars.com
Sat Jan 13 18:24:54 UTC 2024


On 1/11/2024 2:32 PM, Timon Gehr wrote:
> On 1/11/24 22:37, Walter Bright wrote:
>>
>> Logical const code cannot take advantage of it being const because it isn't 
>> constant.
> 
> Well, people can and do do it.
> 
> https://issues.dlang.org/show_bug.cgi?id=9149
> 
> I have had to debate people on whether or not this is even a bug because they 
> had been relying on the behavior in order to implement logical `const`.

It is a bug, and as the issue shows, there is a solution.


More information about the Digitalmars-d mailing list