[Issue 24890] spec/arrays.dd should mention comparison and warn about dangling .ptr
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 29 18:16:23 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24890
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ntrel created dlang/dlang.org pull request #3930 "Fix Bugzilla 24890 -
spec/arrays.dd should mention comparison and war…" fixing this issue:
- Fix Bugzilla 24890 - spec/arrays.dd should mention comparison and warn about
dangling .ptr
Add comparison section.
Introduce .length earlier in the docs.
Define `a == b` and `a is b` for arrays.
Add link to array RelExpression.
Tweak assignment example so comments refer to actual elements.
Make *Array Length* a sub-heading of slicing.
Add relative links for properties.
Document that static array .length is known at compile-time.
Add .ptr section.
Document that .ptr can be dangling so it's not `@safe`.
Mention `TypeInfo.initializer`.
https://github.com/dlang/dlang.org/pull/3930
--
More information about the Digitalmars-d-bugs
mailing list