Hello I have the following function which prints the elements of a queue 

```
 template<typename T>
 void queue<T>::print()
{
T x;
while(!empty())
{
    pop(x);
    cout<<x<<" ";
}

```

}
I have made a queue of queues like this 

```
 queue< queue<int> > my_queue_of_queues =queue< queue<int>>(); 

```

but how can I print all the elements of the queues of "my\_queue\_of\_queues"?