View source code
Display the source code in std/container/array.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

std.container.array.Array.Range - multiple declarations

Struct Array.Range

Defines the array's primary range.

struct Range ;

Properties

NameTypeDescription
back[get, set] TRange primitives
empty[get] boolRange primitives
front[get, set] TRange primitives
length[get] size_tRange primitives
save[get] Array.RangeRange primitives

Methods

NameDescription
moveAt (i) Range primitives
moveBack () Range primitives
moveFront () Range primitives
opIndex (i) Range primitives
opIndexAssign (value, i) Range primitives
opSlice (low, high) Range primitives
popBack () Range primitives
popFront () Range primitives

Alias Array.Range

Defines the array's primary range, which is a random-access range.

struct Array
{
  // ...
  alias Range = RangeT!Array;
  // ...
}

ConstRange is a variant with const elements. ImmutableRange is a variant with immutable elements.

Authors

Andrei Alexandrescu

License

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at ).