DynamicArray.length

Set length to newLength.

If newLength < length elements are truncate. If newLength > length default-initialized elements are appended.

  1. size_t length()
  2. void length(size_t newLength)
    struct DynamicArray(T, alias Allocator = null, CapacityType = size_t)
    @safe pragma(inline) @property @trusted scope
    void
    length
    (
    size_t newLength
    )
    if (
    !is(Unqual!T == bool) &&
    (
    is(CapacityType == ulong) ||
    is(CapacityType == uint)
    )
    )

Meta