Hi

Am 2025-02-07 15:23, schrieb Rob Landers:
Instantiation is done by static access: new Outer::Inner(1), which is currently a syntax error.

How would I access static members on an inner class without having ambiguity? `Outer::Inner::Const` already is valid syntax.

If this is a big "NO" (or if someone else has started working on this and I'm just so happening to accidentally step on their toes, again): I don't want to spend several days/weeks digging into the details for classes. However, it would probably look something like the above.

I believe Ilija has some proof-of-concept regarding file-private classes, which would sidestep the above problem of disambiguating static member access.

Best regards
Tim Düsterhus

Reply via email to