Refactor Grid Iterators
Closed this issue · 0 comments
benreid24 commented
Grid iterators are over-engineered and heavy-weight objects with too much complication. Grid accessors all return a fixed number of cells. Return values from accessors should be std::array<Cell*, N>
. Callers can iterate over cells and then over cell contents in a nested loop. Existing iterator and range interfaces should be removed entirely.