[Issue 23297] You Can Assign a dstring to a dchar[] if Both Sides of the Expression are Slices
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 18 15:53:07 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23297
anonymous4 <dfj1esp02 at sneakemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from anonymous4 <dfj1esp02 at sneakemail.com> ---
The second example should work, it's array copy - copies elements from one
array to another. The first example is slice assignment that would refer to the
same array.
--
More information about the Digitalmars-d-bugs
mailing list