I am wondering how a "Managed vector" is declared.
I have worked much with:
How is the same declared for a Managed type ?
What I am trying to do is to translate this to managed:
std::vector<string> OneVector; std::string Stuff = "Hello"; OneVector.push_back(Stuff);
At the same time, I do wonder if it is possible to declare something like this in a "Form"
private: std::vector<string> hello;
The compiler says that it is not possible to mix native within managed. This is the reason I do wonder the above.
The thing is that I want 2 buttonControls to share the same vector.
buttoncontrol1 will fill the vector up and buttoncontrol2 will use this "filledup" vector.