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

Steven Schveighoffer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|std.traits: Unqual doesn't  |std.traits: Unqual strips
                   |handle arrays well          |qualifiers on structs with
                   |                            |references that would break
                   |                            |const/immutable.

--- Comment #6 from Steven Schveighoffer <[email protected]> ---
Note, the bug here in FeepingCreature's case is that it strips more than it
should. It is supposed to be safe to use Unqual.

So the expectation that Unqual should remove all mutability modifiers is
incorrect.

I'm changing the title accordingly. Perhaps we should actually close this bug
and open another, as the whole issue has really been flipped around?

--

Reply via email to