Movatterモバイル変換


[0]ホーム

URL:


D Logo
Menu
Search

Library Reference

version 2.112.0

overview

Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.Requires a signed-in GitHub account. This works well for small changes.If you'd like to make larger changes you may want to consider usinga local clone.

core.internal.array.appending

This module contains support for controlling dynamic arrays' appending
License:
Distributed under theBoost Software License 1.0. (See accompanying file LICENSE)

Sourcecore/internal/array/appending.d

ref @trusted Tarr_d_arrayappendcTX(Tarr : T[], T)(return ref scope Tarrpx, size_tn);
Extend an arraypx byn elements. Caller must initialize those elements.
Parameters:
Tarrpxthe array that will be extended, taken as a reference
size_tnhow many new elements to extend it with
Returns:
The new value ofpx
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 until the implementation can be brought up to modern D expectations.
ref @trusted Tarr_d_arrayappendT(Tarr : T[], T)(return ref scope Tarrx, scope Tarry);
Implementation of_d_arrayappendT
Copyright © 1999-2026 by theD Language Foundation | Page generated byDdoc on Sat Feb 21 04:06:19 2026

[8]ページ先頭

©2009-2026 Movatter.jp