[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 17:49:37 UTC 2020


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/phobos pull request #7442 "Fix issue 20732. Do not invoke any complex
copy construction for swap" was merged into master:

- 637ba8560e94dbbbbbed821c455a47fe6d71d280 by Steven Schveighoffer:
  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