Vector.shrink

Shrink to fit the new length given. Returns if shrunk.

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

Meta