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

Create fixed_vector container #31

Open
tilsche opened this issue Jul 31, 2020 · 0 comments
Open

Create fixed_vector container #31

tilsche opened this issue Jul 31, 2020 · 0 comments

Comments

@tilsche
Copy link
Member

tilsche commented Jul 31, 2020

Basically a std::vector but with a fixed capacity given at runtime to the constructor.

The implementation could leverage std::vector but add checks to enforce that capacity never changes (throw appropriate exceptions if that would happen). This will leave some redundant checks in the underlying std::vector, but that seems to be bearable for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant