On Wednesday, 11 January 2017 at 19:23:10 UTC, Razvan Nitu wrote:
Hi,

I am currently trying to create a function makeMultidimensionalArray which allocates memory for a multidimensional array. It is very similar with [1],
the difference being that it is uninitialized. Here is the code:

[...]

I believe you should not do this with recursion.
Because that'll instantiate the template multiple times with different types.
What is wrong with using ndslice here ?

Reply via email to