Re: why std.stdio.File is a struct?
On Thursday, 20 October 2016 at 07:40:05 UTC, Jonathan M Davis wrote: On Thursday, October 20, 2016 06:59:12 lumpyzhu via Digitalmars-d wrote: std.stdio.File has reference counter inside, why not std.stdio.File is class? By using a struct with a reference count, you get deterministic
why std.stdio.File is a struct?
std.stdio.File has reference counter inside, why not std.stdio.File is class?