Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nat.digits() should return a read-only span of digits #122

Open
saxbophone opened this issue Jun 11, 2022 · 0 comments
Open

Nat.digits() should return a read-only span of digits #122

saxbophone opened this issue Jun 11, 2022 · 0 comments
Labels
blocked This cannot be started until prerequisite(s) are completed enhancement New feature or request

Comments

@saxbophone
Copy link
Owner

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.

@saxbophone saxbophone added enhancement New feature or request blocked This cannot be started until prerequisite(s) are completed labels Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked This cannot be started until prerequisite(s) are completed enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant