int myints[]={1,2,3,4}
priority_queue<int, std::vector<int>, std::greater<int> >third (myints,myints+4);
I don't understand what is happening on line 2. I'm just learning vectors and queue so I'm feeling kinda helpless. If anyone can give a link of tutorial regarding the topic that would be great...