[Issue 5061] std.traits.arrayTarget
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Feb 18 09:17:37 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5061
--- Comment #6 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-18 09:17:34 PST ---
(In reply to comment #5)
> (In reply to comment #4)
> > Arrays _are_ ranges.
>
> No. E.g. `int[1]` and `const int[]` are not ranges.
Both ElementType and ElementEncodingType work with these.
> `char[]` can be just an array of `char`-s without any thoughts about encoding
> and combining that `char`-s into a string so neither `ElementType` nor
> `ElementEncodingType` are applicable.
I don't understand what you mean. A code example would help.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list