Why is ElementType!(char[]) == dchar?

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jul 9 05:46:08 PDT 2016


On Saturday, 9 July 2016 at 11:57:36 UTC, rikki cattermole wrote:
> In this case, its not aut odecoding.
>
> ElementType is using std.range : front for array's since they 
> do not provide a front method.
>
> That implementation is weird in that it returns a dchar

hello, autodecoding.


More information about the Digitalmars-d-learn mailing list