title: deque, pushing the front element to the back c++
body: <p>Im now practicing in working with data structures. And I have one question, can I write <code>deque.push_back(pop_front())</code>, if I want to swap the first and last element in the deque?</p>