1 day ago

On Thursday, 13 February 2025 at 13:43:04 UTC, user1234 wrote:

>

After having read the document twice, I still find that the relationship with CTFE very unclear.

Yes, CTFE doesn't seem relevant.

>

Do you mean UFCS instead ?

Perhaps:
https://dlang.org/spec/function.html#optional-parenthesis
?

4 hours ago

On Thursday, 13 February 2025 at 13:43:04 UTC, user1234 wrote:

>

On Wednesday, 5 February 2025 at 20:37:30 UTC, 12345swordy wrote:

>

Per request via email, I managed to port it to a markdown document.

https://github.com/12345swordy/Public-Documents/blob/main/properties.md

Destroy!

After having read the document twice, I still find that the relationship with CTFE very unclear. Do you mean UFCS instead ?

No, I don't mean UFCS. CTFE allows you to use the assignment operator with a single parameter function.
I.E.
void A(int x) {};
A = 1;

1 2
Next ›   Last »