The trouble was that const is transitive, and yet what was desired here was so-called "head const". D doesn't have a concept of head const.
(C++ const is always "head const".)
The trouble was that const is transitive, and yet what was desired here was so-called "head const". D doesn't have a concept of head const.
(C++ const is always "head const".)