Array.opIndex

Index operator must be const when ordered.

  1. size_t opIndex [@property setter]
    struct Array(E, Ordering ordering = Ordering.unsorted, bool useGC = shouldAddGCRange!E, alias less = "a < b")
    @property pragma(inline, true) ref const nothrow @trusted @nogc
    @"complexity", "O(1)"
    static if(IsOrdered!ordering)
    opIndex
    (
    size_t i
    )
  2. size_t opIndex [@property setter]

Meta