The OpenD Programming Language

Vector.shrink

Shrink to fit the current length. Returns if shrunk.

  1. bool shrink()
    struct Vector(E, Allocator = typeof(theAllocator))
    scope
    static if(isElementMutable)
    bool
    shrink
    ()
    if (
    isAllocator!Allocator
    )
  2. bool shrink(long newLength)

Meta