← Back to index
|
Original Bugzilla link
Bug 21264 – Template constraint on `each` is too wide
Status
NEW
Severity
normal
Priority
P3
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
All
Creation time
2020-09-18T08:12:57Z
Last change time
2024-12-01T16:37:40Z
Assigned to
No Owner
Creator
timon.gehr
Moved to GitHub: phobos#10440 →
Comments
Comment #0
by timon.gehr — 2020-09-18T08:12:57Z
---- import std.algorithm; struct S{ struct T{ struct Q{} Q length; } T front; } void main(){ S().each!((x){}); } ---- std/algorithm/iteration.d(966): Error: template `std.range.primitives.empty` cannot deduce function from argument types `!()(S)`, candidates are: ... ----
Comment #1
by robert.schadek — 2024-12-01T16:37:40Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/phobos/issues/10440
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB