auto heap = new S;
Won't work if S has a constructor (which was the OP's case). -- Best regards, Vladimir mailto:[email protected]
auto heap = new S;
Won't work if S has a constructor (which was the OP's case). -- Best regards, Vladimir mailto:[email protected]