[Issue 8839] MmFile do not use Range

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 17 16:41:29 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8839



--- Comment #3 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-10-17 16:41:29 PDT ---
> yes but it use opSlice method to do this not 
> - front back safe …

I don't know what you mean.

> In more why it is a class instead a struct ? MmFile do not use inheritance

It shouldn't be IMHO, but changing it would be a breaking change, so I wouldn't
expect it to be changed. I don't know why it was made a class in the first
place, but per the copyright, it looks like it came from D1 originally, and the
language could have changed quite a bit since MmFile was created, and it may be
that it made more sense at the time to make it a class, but I really don't
know.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list