title: boost::lock_guard vs boost::mutex::scoped_lock
body: <p>Which is preferred <code>boost::lock_guard</code> or <code>boost::mutex::scoped_lock</code>?</p>
  
  <p>I'm using Boost.Thread with the hope to move to C++11 threading when it becomes available.  </p>
  
  <p>Is <code>scoped_lock</code> part of the next c++ standard?</p>
  
  <p>Are the any advantages to prefer one over the other?</p>
  
  <hr>
  
  <p><em>NOTE</em>: I'm aware that <code>scoped_lock</code> is just a <code>typedef</code> of <code>lock_guard</code>.</p>
  
  <hr>
  
  <p>edit: I was wrong <code>scoped_lock</code> is <strong>not</strong> a <code>typedef</code> of <code>lock_guard</code>.  It's a <code>typedef</code> of <code>unique_lock</code>.</p>