Andrei Alexandrescu wrote:
Syntax is the main issue in implementing this feature. Due to the implicit nature of reference semantics for classes, there was no syntax to distinguish between the head and the tail when qualifying.

FWIW I just thought of this syntax. It might work but it's not intuitive:

const()C tailConst;

Syntax was not the issue. Back when we tried hard to make this work, there were many syntaxes proposed for it. The issue is the semantic conflation between a reference and what it refers to.

Reply via email to