C++ :: double colon marks and (void *)
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/9071238/what-does-char-x-or-void-z-mean">What does (char *) x or (void *) z mean?</a>  </p>
</blockquote>



<p>I am working with a c++ file and have encountered the following line:</p>

<pre><code>tmp.sort(Hash::pairval, printPair, (void *)(tmp.bitSize()));
</code></pre>

<p>I am most unsure of what (void *) means. bitsize() is a function, and I have heard the term passing a function pointer before. Is that what this is?</p>

<p>I know the :: is normally the scope resolution operator, which I have seen in .cpp/.h object type files. I believe it is serving the same purpose here, to state that pairval is found in Hash.</p>

<p>Thanks</p>
