vutil.array

Utility functions for array processing

Members

Enums

AppenderResetMode
enum AppenderResetMode
Undocumented in source.

Functions

removeFromArray
void removeFromArray(T[] array, T item)
Undocumented in source. Be warned that the author may not have intended to support it.
removeFromArrayIdx
void removeFromArrayIdx(T[] array, size_t idx)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

AllocAppender
struct AllocAppender(ArrayType : E[], E)
Undocumented in source.
ArraySet
struct ArraySet(Key)
Undocumented in source.
FixedAppender
struct FixedAppender(ArrayType : E[], size_t NELEM, E)
Undocumented in source.
FixedRingBuffer
struct FixedRingBuffer(T, size_t N = 0)

TODO: clear ring buffer fields upon removal (to run struct destructors, if T is a struct)

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Sönke Ludwig