The OpenD Programming Language

TotalContainer.length

Sets the number of elements in the container to newSize. If newSize is greater than length, the added elements are added to unspecified positions in the container and initialized with .init.

Complexity: O(abs(n - newLength))

Postcondition: _length == newLength

  1. size_t length [@property getter]
  2. size_t length [@property setter]
    struct TotalContainer(T)
    @property
    void
    length
    (
    size_t newLength
    )

Meta