How do I create a void * pointer using typeof at runtime
<pre><code>#define test(p) (typeof(*(*p)) *)
</code></pre>

<p>The above macro is failing when <code>p</code> is of <code>void **</code> instead of something else.</p>

<p>It works in c but not in c++. Is there any round-about way to do this in c++?</p>
