The OpenD Programming Language

DynamicArray.resize

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

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

Meta