[Issue 22510] Structs with copy constructor can not be heap allocated with default constructor

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 14 11:51:28 UTC 2021


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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@omerfirmak created dlang/phobos pull request #8315 "Add explicit default ctor
for DList.PayNode" mentioning this issue:

- Add explicit default ctor for DList.PayNode

  Worksaround Issue 22510 (https://issues.dlang.org/show_bug.cgi?id=22510)
  which prevented us from using structs with explicit copy ctors with DList.

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

--


More information about the Digitalmars-d-bugs mailing list