Being a newbie I don't know if this is a recurrent topic... please forgive the question if this is the case.
I have a Xamarin.Forms test application that I'd like to link with a C++ library. So far, I've created an interface in the Forms project, and in iOS I've written an implementation class that calls the native library. It works, but now I need to pass significant data between the two.
How can I pass and retrieve data from the C++ library without copying it?
Reading online I've seen here that I can copy data to/from plain old data, like arrays, but I'd like to do this without any duplication.
Moreover, is it possible to use C++ types like std::vector or std::map?