[Issue 20732] swap doesn't support types with impure gc or throwing copy constructors

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 13 15:37:53 UTC 2020


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@schveiguy created dlang/phobos pull request #7442 "Fix issue 20732. Do not
invoke any complex copy construction for swap" fixing this issue:

- Fix issue 20732. Do not invoke any complex copy construction for
  std.algorithm.mutation.swap for the temporary.

https://github.com/dlang/phobos/pull/7442

--


More information about the Digitalmars-d-bugs mailing list