ae.utils.range

ae.utils.range

Members

Functions

fastArrayRange
auto fastArrayRange(T[] arr)
Undocumented in source. Be warned that the author may not have intended to support it.
ptrSlice
T[] ptrSlice(T* a, T* b)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

FastArrayRange
struct FastArrayRange(T, bool CHECKED = isDebug)

An equivalent of an array range, but which maintains a start and end pointer instead of a start pointer and length. This allows .popFront to be faster. Optionally, omits bounds checking for even more speed.

Templates

pairwise
template pairwise(alias pred)

Apply a predicate over each consecutive pair.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <vladimir@thecybershadow.net>