Tuples, CTFE, and Sliding Template Arguments

Alexandru Ermicioi alexandru.ermicioi at gmail.com
Sun Jan 14 13:44:03 UTC 2024


On Sunday, 14 January 2024 at 09:41:16 UTC, Daniel N wrote:
>
> When you are forced to add {} for simple variables, the entire 
> feature loses its point, even worse when you add expressions

Just let's use groovy syntax for 1036:
1. $myVar - for variable refs.
2. ${1 + myVar} - for expressions and vars.
3. \$myVar - for string "$myVar".

Then all lazyness will be satisfied.

Best regards,
Alexandru.


More information about the Digitalmars-d mailing list