digitalmars.D.bugs - [Issue 20966] New: std.typecons.Tuple cannot handle non-copyable types
- d-bugmail puremagic.com (23/23) Jun 21 2020 https://issues.dlang.org/show_bug.cgi?id=20966
https://issues.dlang.org/show_bug.cgi?id=20966 Issue ID: 20966 Summary: std.typecons.Tuple cannot handle non-copyable types Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: stanislav.blinov gmail.com struct S { disable this(ref typeof(this)); } void main() { import std.typecons : tuple; auto tup = tuple(S.init); // does not compile } --
Jun 21 2020