Say I need to create a tuple struct (so, with unnamed fields) with
N parameters of type
Foo, is there a syntax that would allow me to write such a thing ?
I mean, something like this:
MyStruct(Foo, Foo, Foo, Foo, ... N times ) /// Looking for a syntax that would allow me to write it like this MyStruct(Foo * N) // Invalid syntax, obviously
I’m open to solutions involving macros, as I think that’s my only escape… ?