August 04 Re: Variables of struct and class types are called objects - discuss - spec | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Treleaven | On Monday, 4 August 2025 at 15:13:19 UTC, Nick Treleaven wrote: > To complicate matters, the spec sometimes uses 'object' just to mean an instance of any type: > >> If a pointer contains a null value, it is not pointing to a valid object. > > https://dlang.org/spec/type.html#pointers > > Note: git blame has my name on those lines, because I moved them there from arrays.dd. > I think there are other places in the spec too but I've not found them after a quick look. Anyway that section could be fixed. Fix: https://github.com/dlang/dlang.org/pull/4281 |
Copyright © 1999-2021 by the D Language Foundation