On Tuesday, 22 October 2013 at 21:05:33 UTC, Lionello Lunesu wrote: > Careful! Alloca doesn't get cleaned up when used in loops! scope(exit) works in a loop, so you can automatically clean it up like that. Destructors are also called on each iteration so RAII is an option.