Borrow the rows of the subtree of row, including row itself.
- Returns
- The array's slice, or an empty result when the rows are not preorder, row is out of range, or the index does not match the array.
Definition at line 100 of file DataForestTraversal.hpp.
101 {
102 using Slice =
decltype(
m_array->slice(
size_t {},
size_t {}));
107 }
bool matches() const
Whether the index and array have the same number of rows.
const ForestIndex * m_index
On-demand walks over the parent links of an indexed array.
References m_array, m_index, and matches().