Maybe we can combine Stash() with the data holding container into a vector. This std::vector would be used to back both Scalar and Vector data, and could eliminate the SSVector class, as we can use std::vector::const_iterator in both places (note: the need for T* as an iterator was the reason for the SSVector class).
Maybe we can combine Stash() with the data holding container into a vector. This std::vector would be used to back both Scalar and Vector data, and could eliminate the SSVector class, as we can use std::vector::const_iterator in both places (note: the need for T* as an iterator was the reason for the SSVector class).