D does have head const (but maybe it shouldn't)

tsbockman thomas.bockman at gmail.com
Tue Dec 29 20:10:00 UTC 2020


On Tuesday, 29 December 2020 at 17:13:48 UTC, Petar Kirov 
[ZombineDev] wrote:
> On Tuesday, 29 December 2020 at 16:15:56 UTC, ag0aep6g wrote:
>> Solution: https://run.dlang.io/is/dsaGFS
>
> I'd say head-const is a very useful tool, but it's pretty 
> obvious to me that this shouldn't be a supported way to 
> implement it.

I agree. I wish D supported head-const, but this is just a bug.


More information about the Digitalmars-d mailing list