workaround inline Issue 7625

- add explicit else branches so that dmd can inline those functions
Merge pull request #2566 from MartinNowak/workaround7625

workaround inline Issue 7625
Use inout for ref returning members in std.container.array
Merge pull request #2573 from nordlow/inout-array

Use inout for ref returning members in std.container.array