Passing variadic template parameters AND default call site __FILE__, __LINE__ template parameters.

monkyyy crazymonkyyy at gmail.com
Tue May 27 21:16:57 UTC 2025


On Tuesday, 27 May 2025 at 21:07:51 UTC, realhet wrote:
>
> Interesting tricks: alias reassignment and 
> templateParameterValueSpecialization (wow! It avoids the 
> redeclaration error I normally get.).

There bugs here, it works in this case(I have theories why) and 
in opend its considered a regression and adr will undo 
"optimizations"; but this is unstable and considered unimportant 
by the core devs

Specialization as a lookup table is valid. Trying to escape 
references to static forloop, risky.


More information about the Digitalmars-d-learn mailing list