wrong isInputRange design

Nick Treleaven via Digitalmars-d digitalmars-d at puremagic.com
Sat Dec 3 09:25:55 PST 2016


On Saturday, 3 December 2016 at 16:37:21 UTC, Jerry wrote:
> Also "string" is just an alias of an array, 
> "immutable(char)[]". So an array should have "front" defined. 
> Can you post more code?

You still have to `import std.range.primitives : front`, even for 
arrays.


More information about the Digitalmars-d mailing list