title: Reversing the contents of an std::list
body: <pre><code>class Print 
     {  
     public:
         void PrintAll() {}
     private:
      std::list&lt;int&gt; mylist;
     };
  </code></pre>
  
  <p>I see this example question from a C++ language book.
  And I want to print the internal mylist elements.
  How can it be done if mylist needs to be reversed, using C++ STL library and using  to output the result.</p>
  
  <p>Thanks you very much!</p>