[Issue 24465] Tuple does not get a copy constructor when its members need it
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 29 01:54:06 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24465
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@jmdavis created dlang/phobos pull request #8963 "Fix bugzilla #24465: Make
Tuple work with copy constructors" fixing this issue:
- 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