Array.resize

sets the size to some value. Either cuts of some values (but does not free memory), or fills new ones with V.init

  1. void resize(size_t size, V v)
    struct Array(V)
    @trusted
    void
    resize
    (
    size_t size
    ,
    V v
    )
  2. void resize(size_t size)

Meta