You are probably looking for something like below (I provided some ObjectPtr to have a working exemple, as OP did not). I would not comment on the exemple, but I also smell some anti-pattern like primitive-obsession.
#include <string>
#include <vector>
#include <iostream>
#include <boost/shared_ptr.hpp>
typedef struct {
int a;
int b;
} Object;
typedef Object * ObjectPtr;
typedef std::vector <std::pair <std::string, ObjectPtr > > ObjectListBase;
typedef boost::shared_ptr<ObjectListBase> ObjectList;
void f(ObjectList ol){
std::cout <<
"(" << (*ol)[0].first
<< ", {" << (*ol)[0].second->a << ',' << (*ol)[0].second->b << "})"
<< '\n';
}
int main(){
Object o = {1, 2};
std::pair<std::string, ObjectPtr> p = std::make_pair(std::string("toto"), &o);
ObjectListBase & olb = *(new ObjectListBase());
olb.push_back(std::make_pair(std::string("toto"), &o));
std::cout <<
"(" << olb[0].first
<< ", {" << olb[0].second->a << ',' << olb[0].second->b << "})"
<< '\n';
f(ObjectList(&olb));
}