Re: why std.stdio.File is a struct?

2016-10-23 Thread lumpyzhu via Digitalmars-d
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?

2016-10-20 Thread lumpyzhu via Digitalmars-d
std.stdio.File has reference counter inside, why not std.stdio.File is class?