addreserve
functionalityaddclear
functionalityis there a safe way to do this?- Yesintroduce container generation for extra safety? increment after each- No, just maintain internal handle vector (not perfect but should be okay in practice. To fully reset,clear
operation?.swap(tmp)
technique is possible).
investigate benchmarking codeadd a way to distinguish handles from separate containersadd iterator support (begin/end interface?)consider special members (move only type?)No, shouldn't limit all possible use cases.
-
variable_indirect_array
-
indirect_vector
-
handle_vector
-
sparse_array
-
packed_sparse_array
-
dense_array
-
sequential_lookup
-
it should be possible to sort container by external index and then update the handles