Nat.digits() should return a read-only span of digits
Opened this issue · 0 comments
saxbophone commented
This can't be done until _digits is stored in a contiguous container, as std::span
can only view over contiguous ranges.
This is blocked on saxbophone/codlili#1, (implement "Sharray") as that type will provide compile-time contiguous storage, with fast insertion and deletion at both ends.