# How to publish a vector< pair <int, int> >?

Hi,

I have created a vector of type pair < int, int >, and now I'm trying to publish it on a ROS topic. The size of the vector is already known. How can I proceed ?

I have tried:

```
vector_pub = nh.advertise<std::vector<pair <int, int> > >("vector", 100);
vector_pub.publish(vector_node_position);
```

but it doesn't compile. Could you please help me?

Thanks :)