D-Programming-Language/phobos — pull request #1668 by denis-sh (2013-10-26 08:18:18+00:00)
Title: Add internal `_ArrayElementType` trait.

Replace `.init[0]` with new trait to increase code self documentation and avoid incorrect indexing in the case of zero-length static array.

Also replace one `typeof(*lvalueOf!T.ptr)`.

-

Before:
```D
Target.init[0].init; // some code, unsure what it does
```

After:
```D
_ArrayElementType!Target.init.init; // harmless duplication is clear now
```