Skip to content

Commit b558507

Browse files
committed
Move mutating/readonly Index methods into separate traits
This allows us to remove the unsafe `view_from_buffer` function by introducing a new IndexView type that is associated with the buffer's lifetime. It also prevents invalid usage of immutable Index instances, which would throw C++ exceptions if e.g., add() was called on an immutable view.
1 parent a3644c3 commit b558507

File tree

1 file changed

+411
-212
lines changed

1 file changed

+411
-212
lines changed

0 commit comments

Comments
 (0)