[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 22:02:38 UTC 2024


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

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/phobos pull request #8966 "merge stable" was merged into master:

- 7858069343679401fea49a48bcaf965b7f22dde0 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/8966

--


More information about the Digitalmars-d-bugs mailing list