main:()={q:std::queue<int>=();q.push(0);// back pushes 0q.push(1);// q = 0 1q.push(2);// q = 0 1 2q.push(3);// q = 0 1 2 3assert(q.front()==0);assert(q.back()==3);assert(q.size()==4);q.pop();// removes the front element, 0assert(q.size()==3);// Print and remove all elements. Note that std::queue does not// support begin()/end(), so a range-for-loop cannot be used.std::cout<<"q: ";while!q.empty()nextq.pop(){std::cout<<"(q.front())$ ";}std::cout<<'\n';assert(q.size()==0);}