title: Can I cast nullptr to other pointer type?
body: <p>Can I do this?</p>
  
  <pre><code>static_cast&lt;A*&gt;(getSomePtr());
  </code></pre>
  
  <p>where <code>getSomePtr()</code> will return <code>nullptr</code>. Is this ok?</p>