On 2020-03-19 11:17, Mathias Lang wrote: > but as often, the solution is to > turn a runtime parameter into a compile time one and to add another > level of indirection. If you don't use static initialization and instead assign the fields one by one it should work without the indirection. -- /Jacob Carlborg