June 21, 2020 [Issue 20966] New: std.typecons.Tuple cannot handle non-copyable types | ||||
|---|---|---|---|---|
| ||||
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 } -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply