On Sat, 12 Nov 2011 17:17:29 +0200, Adam D. Ruppe <destructionator at gmail.com> wrote: > auto heap = new S; Won't work if S has a constructor (which was the OP's case). -- Best regards, Vladimir mailto:vladimir at thecybershadow.net