Bug 20966 – std.typecons.Tuple cannot handle non-copyable types

Status
NEW
Severity
normal
Priority
P3
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-06-21T11:16:29Z
Last change time
2024-12-01T16:37:05Z
Assigned to
No Owner
Creator
Stanislav Blinov
Moved to GitHub: phobos#9799 →

Comments

Comment #0 by stanislav.blinov — 2020-06-21T11:16:29Z
struct S { @disable this(ref typeof(this)); } void main() { import std.typecons : tuple; auto tup = tuple(S.init); // does not compile }
Comment #1 by robert.schadek — 2024-12-01T16:37:05Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/9799 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB