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

Cauterite <cauter...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cauter...@gmail.com

--- Comment #1 from Cauterite <cauter...@gmail.com> ---
i'm wondering, after this is fixed, whether traits.hasElaborateCopyConstructor
should return false for immutable types?

currently it seems if a struct has a (mutable) postblit, there will be a
mutable __xpostblit that does the work, and an immutable __xpostblit that does
nothing.
hasElaborateCopyConstructor finds the second one and returns true.

--

Reply via email to