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

Cauterite <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Cauterite <[email protected]> ---
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