On Friday, 2 February 2018 at 14:29:34 UTC, H. S. Teoh wrote:
On Fri, Feb 02, 2018 at 07:06:56AM +0000, Simen Kjærås via Digitalmars-d-learn wrote:
[...]

Its semantics are not broken; it's just harder to use. Due to const transitivity, it's an all-or-nothing deal. .tailConst gives us the middle ground.

[...]

FWIW there's also head const in phobos since more than one year - known as Final:

https://dlang.org/phobos/std_experimental_typecons.html

Reply via email to