Module tanya.algorithm.mutation

Algorithms that modify its arguments.

Functions

NameDescription
copy(source, target) Copies the source range into the target range.
destroyAll(range) Destroys all elements in the range.
fill(range, value) Fills range with value.
initializeAll(range) Initializes all elements of the range assuming that they are uninitialized.
move(source, target) Moves source into target assuming that target isn't initialized.
moveEmplace(source, target) Moves source into target assuming that target isn't initialized.
rotate(front, back) Rotates the elements of a union of two ranges.
swap(a, b) Exchanges the values of a and b.
uninitializedFill(range, value) Fills range with value assuming the elements of the range aren't initialized.