[Issue 19544] Can't call inputRangeObject on ranges not supported by moveFront

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 28 15:13:52 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=19544

--- Comment #2 from Ate Eskola <Ajieskola at gmail.com> ---
Forum theard here:
https://forum.dlang.org/post/kwzknxtlzdhmxyzsladh@forum.dlang.org

A concrete test case:
----------
import std;

struct HasCC
{   inout this(ref inout typeof(this)){}
}

void main()
{   auto iro = repeat(HasCC.init).inputRangeObject;
}
----------

--


More information about the Digitalmars-d-bugs mailing list