On Monday, 7 December 2020 at 04:03:05 UTC, mw wrote:
So my next question: given N, how do I create a Tuple!(double, double, ... n-double) type programmatically?
import std.meta: Repeat; alias NDoubles = Tuple!(Repeat!(N, double));Note that N must be a compile-time constant, since the number of elements in a Tuple is fixed at compile time.
