Bug 6973 – static assert(isOutputRange!(OutputRange!int, int)) is false

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2011-11-19T10:24:00Z
Last change time
2011-12-03T06:49:39Z
Keywords
patch
Assigned to
nobody
Creator
zan77137
See also
http://d.puremagic.com/issues/show_bug.cgi?id=2997

Comments

Comment #0 by zan77137 — 2011-11-19T10:24:48Z
This code doesn't work! ---- import std.range; static assert(isOutputRange!(OutputRange!int, int)); ---- This issue triggered from hasMember template. hasMember returns false if use interface or union.
Comment #1 by k.hara.pg — 2011-11-25T07:31:05Z
Comment #2 by k.hara.pg — 2011-12-03T06:49:39Z