Hi, On 09/26/2010 07:13 PM, bearophile wrote: > Tom Kazimiers: > >> Do you have any suggestion how I should make >> sure that the file gets closed on destruction? > > Can you use scope(exit) or the std.stdio.File?
Well, I have no idea. You mentioning scope(exit) was actually the first time I heard of it. Unfortunately I have not found any resource about it. Do you have a link to point me in the right direction? If I would use std.stdio.File, what would be different? Thanks, Tom