Commit a69e121
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 2f855ce commit a69e121
1 file changed
Lines changed: 411 additions & 212 deletions
0 commit comments