how convert the range to slice ?
bearophile via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Feb 2 08:56:02 PST 2015
Nordlöw:
> Is started digging a bit...
>
> The magic happens at line 103 in cast.c.
>
> How do I most conveniently figure out which members (functions)
> a type (e->type) has?
>
> I figured I could check for typical InputRange members and
> issue a hint about using .array if e->type has them.
It's probably better to ask such questions on GitHub (and to open
an enhancement request in Bugzilla).
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list