The OpenD Programming Language

DynamicArray.resize

Change the array length. When growing, initialize new elements to the default value.

  1. void resize(size_t n)
    struct DynamicArray(T, Allocator = Mallocator, bool supportGC = shouldAddGCRange!T)
    static if(is(typeof( )))
    void
    resize
    (
    size_t n
    )
  2. void resize(size_t n, T value)

Meta