Can we have a static virtual functions? If not, then WHY?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1820477/c-static-virtual-members">C++ static virtual members?</a>  </p>
</blockquote>



<p>Can we have a static virtual functions? If not, then WHY?</p>

<pre><code>class X
{
public:
       virtual static void fun(){} // Why we cant have static virtual function in C++?
};
</code></pre>
