[Issue 22077] `std.sumtype` support for copy constructors is incomplete

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 11 22:57:28 UTC 2021


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

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

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

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
@pbackus created dlang/phobos pull request #8192 "Fix issue 22077 -
`std.sumtype` support for copy constructors is inco…" fixing this issue:

- Fix issue 22077 - `std.sumtype` support for copy constructors is incomplete

  Previously, SumType would define the wrong set of constructors for types
  whose copyability varies depending on their mutability--a situation that
  was impossible with postblits, but is now possible with copy
  constructors.

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

--


More information about the Digitalmars-d-bugs mailing list