ページの改善
いますぐフォークしてオンライン編集し、このページのプルリクエストを送信します。 Github へのログインが必要です。 これは小さな変更に適しています。 大きな変更を加えたい場合は、通常の cloneの使用をお勧めします。
日本語版について
個人的な学習のために、dlang.orgを翻訳したサイトです。 翻訳に際して、様々なサイトを参考にしています。

core.internal.array.capacity

This module contains support for controlling dynamic arrays' capacity and length
License:
Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)
template _d_arraysetlengthTImpl(Tarr : T[], T)
Implementation of _d_arraysetlengthT and _d_arraysetlengthTTrace
pure nothrow @trusted size_t _d_arraysetlengthT(ref return scope Tarr arr, size_t newlength);
Resize dynamic array
Parameters:
Tarr arr the array that will be resized, taken as a reference
size_t newlength new length of array
Returns:
The new length of the array
Bugs:
The safety level of this function is faked. It shows itself as @trusted pure nothrow to not break existing code.
alias _d_arraysetlengthTTrace = _d_HookTraceImpl!(Tarr, _d_arraysetlengthT, errorMessage);
Bugs:
This function template was ported from a much older runtime hook that bypassed safety, purity, and throwabilty checks. To prevent breaking existing code, this function template is temporarily declared @trusted pure nothrow until the implementation can be brought up to modern D expectations.