how to declare this 'queue< pair<int,int> > queue;'

i want to use the queue array library and wanted to know how i can declare the above mentioned queue

Can you please provide a link to this library. Does it come with any examples ?

Standard C++ stuff, unfortunately not included with Arduino: std::pair, std::queue.