[Issue 12680] New: isIterable fails for types with disabled postblit
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Apr 29 12:35:19 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12680
Issue ID: 12680
Summary: isIterable fails for types with disabled postblit
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: Phobos
Assignee: nobody at puremagic.com
Reporter: monarchdodra at gmail.com
//----
import std.traits;
struct S
{
this(this) @disable;
}
static assert(isIterable!(S[]));
//----
Fails. Shouldn't.
--
More information about the Digitalmars-d-bugs
mailing list