title: C++: Moving an element from Front of queue To Back
body: <p>I'm attempting to write a function called <code>move_to_rear</code> that moves the element at the front of the queue to the back of the queue, then making the element second in line the front element. I was able to do this using a couple different methods, but my classmate told me he did it by using just push, front, and pop. </p>
  
  <p>How did he accomplish such a thing using just those three functions?</p>