[Issue 10376] Glaring hole in const system

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Oct 21 05:32:22 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=10376

Andrei Alexandrescu <andrei at erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrei at erdani.com

--- Comment #5 from Andrei Alexandrescu <andrei at erdani.com> ---
The quickest way to stop the bleeding is to disallow the code. It's incorrect
for immutable data and misleading for mutable data. (What an user might expect
is that each data comes with a distinct array.)

--


More information about the Digitalmars-d-bugs mailing list