builds
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
op_context_t c,
mapped_space_visitor_t *visitor=nullptr) const
{
+#ifndef NDEBUG
assert_valid();
+#endif
assert(!is_end());
auto ret = *this;
iterator_fut prev(op_context_t c) const
{
+#ifndef NDEBUG
assert_valid();
+#endif
assert(!is_begin());
auto ret = *this;
});
}
+#ifndef NDEBUG
void assert_valid() const {
assert(leaf.node);
assert(leaf.pos <= leaf.node->get_size());
}
}
}
+#endif
depth_t get_depth() const {
return internal.size() + 1;
"ret.leaf.pos {}",
c.trans,
ret.leaf.pos);
+#ifndef NDEBUG
if (min_depth == 1) {
ret.assert_valid();
}
+#endif
return std::move(ret);
});
}