Pointer to overloaded method of template class
<p>I have template with overloaded method. I'm trying to create pointer to the overloaded method.</p>

<pre><code>template&lt;typename T&gt;
class Future {
public:
    const T&amp; get() const;
    bool get(T*, int timeoutMs) const;
};

...

const void*&amp;(Future&lt;void*&gt;::*x)()const = &amp;Future&lt;void*&gt;::get;
</code></pre>

<p>Compilation fails with this error:</p>

<pre><code>no matches converting function 'get' to type 'const void*&amp; (class Future&lt;void*&gt;::*)()const'
candidates are: const T&amp; Future&lt;T&gt;::get() const [with T = void*]
                bool Future&lt;T&gt;::get(T*, int) const [with T = void*]
</code></pre>

<p>I have tried to typedef <code>Future&lt;void*&gt;</code> without any luck.</p>
