Skip to content

strata::writable_cursorΒΆ

Part of Evaluation and assignment.

concept

template<typename C>
concept strata::writable_cursor = requires(const C& cursor) {
 { cursor.element() } -> std::same_as<std::remove_cvref_t<decltype(cursor.element())>&>;
}

A cursor that can also write the element it is at: element() is a reference that is not const.

A cursor of a read-only view has an element() too, a const one; that does not count.