Named template arguments

IchorDev zxinsworld at gmail.com
Thu Aug 8 10:51:29 UTC 2024


On Thursday, 8 August 2024 at 10:45:54 UTC, Anonymouse wrote:
> Is there a reason why we can't have named template arguments 
> too? I don't particularly mind it if we'd have to limit the 
> ordering so that variadics have to be placed last. I just want 
> to avoid having to resort to `Flag!"bar" bar` parameters.

Named template parameters were mentioned in [the 
DIP](https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1030.md), they just haven’t been implemented yet.


More information about the Digitalmars-d-learn mailing list