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.