void f(cli::array<PointF> ^points){
PointF& a = points[0];
// and so on...
}
Ошибка компиляции в строке 2.
.\ndPanel.cpp(52) : error C2440: 'initializing' : cannot convert from 'System::Drawing::PointF' to 'System::Drawing::PointF &'
An object from the gc heap (element of a managed array) cannot be converted to a native reference
Что такое управляемый способ объявления ссылочной переменной?