[Issue 24465] Tuple does not get a copy constructor when its members need it
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 1 18:15:31 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24465
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 #8963 "Fix bugzilla #24465: Make Tuple work with copy
constructors" was merged into stable:
- 7b1bc06f724763a4a38e5390485b77a6d95b176c by Jonathan M Davis:
Fix bugzilla #24465: Make Tuple work with copy constructors
If there's a constructor that looks like a copy constructor except that
it takes an rvalue instead of taking the argument by ref, then that type
can't have a copy constructor, and one of Tuple's constructors was
causing that problem. So, this fixes it so that it doesn't.
https://github.com/dlang/phobos/pull/8963
--
More information about the Digitalmars-d-bugs
mailing list