-
Notifications
You must be signed in to change notification settings - Fork 6
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
Added fixed_vector #34
Conversation
Only a few Test available yet. More coming tomorrow. |
Open question: Howto / should we allow references as elements? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The methods which take depackage_func
seems strange. Remove that.
Co-authored-by: Mario Bielert <[email protected]>
Co-authored-by: Mario Bielert <[email protected]>
Co-authored-by: Mario Bielert <[email protected]>
Co-authored-by: Mario Bielert <[email protected]>
Still no refs possible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please look into noexcept
and add it appropiately.
Regarding the tests, what is unique requirement of fixed vector compared to a standard vector? Add a test for that.
Added a vector with fixed capacity.
Fixes Issue #31
Usage like a normal Vector.
✔ std::get<>() support
✔ forward iterator
✔ backward iterator
✔ insert, emplace, erase