Static class variable--use with constructors
<p>I have a class with a static variable: null.</p>

<pre><code>static Pointer&lt;Value&gt; Null;
</code></pre>

<p>Pointer is a class which uses reference count memory management.</p>

<p>However, I get an error: no matching function for call to Pointer::Pointer()</p>

<p>On the line:</p>

<pre><code>Pointer&lt;Value&gt; Value::Null(new Value());
</code></pre>

<p>Thanks.</p>

<p><strong>Excerpt of Pointer class:</strong></p>

<pre><code>template &lt;typename T&gt;
class Pointer
{
 public:
  explicit Pointer(T* inPtr);
</code></pre>

<p><strong>Constructor Source</strong></p>

<pre><code>  mPtr = inPtr;
  if (sRefCountMap.find(mPtr) == sRefCountMap.end()) {  
    sRefCountMap[mPtr] = 1;
  } else {
    sRefCountMap[mPtr]++;
  }
</code></pre>
