Vector<int> index;
VectorMap<String, String> person;
void Foo::AddPersons(Vector<int>& i, VectorMap<String, String>& p)
{
bla bla...
}
// In your application, all you have to do is to call the function/method properly.
Foo::AddPersons(index, person);
And here is some information about containers on UPP