On Friday, 15 August 2025 at 12:18:30 UTC, 0xEAB wrote:
On Friday, 15 August 2025 at 12:02:19 UTC, Marc wrote:Can anyone please help me getting it to work?It seems like you’ve accidentally used the wrong syntax for the template parameter.To make the parameter a value parameter of type `size_t`, write: ``` size_t getCol(size_t N)() { return N; } ```Also, your return type was off. Can’t return data from a `void` function.
Thanks. It work now.