title: boost Shared_pointer NULL
body: <p>I'm using <code>reset()</code> as a default value for my shared_pointer (equivalent to a <code>NULL</code>).</p>
  
  <p>But how do I check if the shared_pointer is <code>NULL</code>?</p>
  
  <p>Will this return the right value ?</p>
  
  <pre><code>boost::shared_ptr&lt;Blah&gt; blah;
  blah.reset()
  if (blah == NULL) 
  {
      //Does this check if the object was reset() ?
  }
  </code></pre>