title: C++ stl pop doesn't return
body: <p>I have experienced, that the stl pop function doesn't return anything.</p>
  
  <p>How can I return the top element of my stack and delete it?</p>
  
  <p>The top function is not a good solution, because it returns only a reference of the top element...</p>