c++ cli - Multidimensional array as argument in C++/CLI -
c++ cli - Multidimensional array as argument in C++/CLI -
i getting bit desperate. :) there possible way create in c++/cli? it's c# code.
void test(int[,] numbers) { ... } more trying create "universal" marshaller (as extension marshal_as), able convert int[2,2] int** (by copy).
something (which one-dimensional array):
// cli::array<type> -> type* template <typename tto, typename tfromtype> tto marshal_as(cli::array<tfromtype>^ const from) { ... } multidimensional-array c++-cli
Comments
Post a Comment