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

Dynamic bitset #17

Merged
merged 4 commits into from
Mar 12, 2024
Merged

Dynamic bitset #17

merged 4 commits into from
Mar 12, 2024

Conversation

JohanMabille
Copy link
Collaborator

@JohanMabille JohanMabille commented Mar 11, 2024

based on #16 , partially replaces #13

You can ignore the first 3 commits for the review (they will disappear when #16 is merged and this one is rebased).

@JohanMabille JohanMabille force-pushed the dynamic_bitset branch 2 times, most recently from 533ad48 to 7a0eedf Compare March 12, 2024 08:22
Copy link
Collaborator

@jjerphan jjerphan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A first pass.

include/sparrow/dynamic_bitset.hpp Outdated Show resolved Hide resolved
test/test_dynamic_bitset.cpp Show resolved Hide resolved
test/test_dynamic_bitset.cpp Show resolved Hide resolved
test/test_dynamic_bitset.cpp Show resolved Hide resolved
test/test_dynamic_bitset.cpp Show resolved Hide resolved
using size_type = typename base_type::size_type;

dynamic_bitset();
explicit dynamic_bitset(size_type n, value_type v = false);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reminder of one of @Klaim's comment: two constructors need to be defined.

include/sparrow/dynamic_bitset.hpp Outdated Show resolved Hide resolved
include/sparrow/dynamic_bitset.hpp Outdated Show resolved Hide resolved
include/sparrow/dynamic_bitset.hpp Outdated Show resolved Hide resolved
Copy link
Collaborator

@Klaim Klaim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JohanMabille JohanMabille merged commit e13b837 into man-group:main Mar 12, 2024
6 checks passed
@JohanMabille JohanMabille deleted the dynamic_bitset branch March 12, 2024 19:18
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

Successfully merging this pull request may close these issues.

3 participants