Adding syntacti sugar for simple "readonly" attribute ?

Jacob Carlborg doob at me.com
Fri Oct 27 11:17:57 UTC 2017


On 2017-10-27 11:06, bauss wrote:

> Ahh yeah, that's true. I wasn't thinking that far

I think head const [1] is what he's looking for. Similar to "final" in Java.

[1] https://dlang.org/const-faq.html#head-const

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list