[Issue 10774] std.range.indexed RangeError when indexing string with std.range.recurrence!"n"(0)
https://issues.dlang.org/show_bug.cgi?id=10774 Iain Buclaw changed: What|Removed |Added Priority|P2 |P3 --
[Issue 10774] std.range.indexed RangeError when indexing string with std.range.recurrence!"n"(0)
https://issues.dlang.org/show_bug.cgi?id=10774 Basile-z changed: What|Removed |Added Component|dmd |phobos --
[Issue 10774] std.range.indexed RangeError when indexing string with std.range.recurrence!n(0)
http://d.puremagic.com/issues/show_bug.cgi?id=10774 --- Comment #1 from monkeywork...@hotmail.com 2013-08-07 14:05:20 PDT --- Also, a workaround: import std.utf; import std.stdio; import std.range; void main() { auto str = 石室詩士施氏,嗜獅,誓食十獅。d; auto indStr = str.indexed(iota(str.count)); writeln(indStr); readln(); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---