title: Does D have an equivalent to C++ nullptr_t?
body: <p>in C++, I can do this:</p>
  
  <pre><code>void func(void *something) {
      cout &lt;&lt; "something" &lt;&lt; endl;
  }
  
  void func(nullptr_t) {
      cout &lt;&lt; "nullptr_t" &lt;&lt; endl;
  }
  
  int main() {
      int nothing = 5;
      func(&amp;nothing);
      func(nullptr);
      return 0;
  }
  </code></pre>
  
  <p>which outputs:</p>
  
  <blockquote>
    <p>something<br>
    nullptr_t</p>
  </blockquote>
  
  <p>so I can special case nullptr_t.</p>
  
  <p>In D, I have two functions:</p>
  
  <pre><code>void func(void* pod) {
      cout &lt;&lt; "pod" &lt;&lt; endl;
  }
  
  void func(Object obj) {
      cout &lt;&lt; "Object" &lt;&lt; endl;
  }
  </code></pre>
  
  <p>So how do I resolve the ambiguity when calling <code>func(null)</code>?</p>