On 11/12/2011 04:17 PM, Adam D. Ruppe wrote:
The way I'd do it is:

S s;

auto heap = new S;

*heap = s;


that should work.

struct S{
    immutable no_it_does_not = 0; // ;)
}

Reply via email to