How to place a copy of T* at a given address?
<p>Consider a type <code>T</code> and a pointer to <code>T</code>, <code>T*</code>.</p>

<p>Is there a way to place a copy of <code>T*</code> at a given address <code>x</code>, without using <code>memcpy()</code> and in a portable way?</p>

<p>Edit:</p>

<p>Just to be clear, I don't want to construct <code>T</code> at address <code>x</code>. I want to copy the value of the pointer to <code>T</code>, <code>T*</code>, at address <code>x</code>, as in</p>

<pre><code>char* p = new char[s];
memcpy(&amp;p[0], t, sizeof(T*)); // t is T*
</code></pre>
