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

Cannot insert existing value to full set #783

Closed
ismailtzn opened this issue Nov 2, 2023 · 4 comments · Fixed by #782
Closed

Cannot insert existing value to full set #783

ismailtzn opened this issue Nov 2, 2023 · 4 comments · Fixed by #782
Assignees
Labels

Comments

@ismailtzn
Copy link
Contributor

When I try to insert a value to full set, it always throws set_full error, even if the value was already in the set.

@jwellbelove
Copy link
Contributor

This may also be an issue for etl::flat_set and etl::unordered_set.

@ismailtzn
Copy link
Contributor Author

You are right, I will look them too 😄

@ismailtzn
Copy link
Contributor Author

I checked etl::reference_flat_set, etl::flat_set and etl::unordered_set, this issue does not occur for etl::reference_flat_set and etl::flat_set. For those two I added tests. I tried to fix etl::unordered_set also.

By the way, I couldn't see any contribution instructions, so I created a pull request directly. If you follow a particular way of accepting contributions, I'd love to do it your way.

jwellbelove pushed a commit that referenced this issue Nov 24, 2023
Updated CI scripts
#786 u8string
#783 Cannot insert existing value to full set
#781 etl::multi_span::iterator::operator *() fails if first span is empty
#780 endian enum_type produces useless-cast warnings
#779 hash.h: warnings produced with -Wfloat-equal
@jwellbelove
Copy link
Contributor

Fixed 20.38.7

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

Successfully merging a pull request may close this issue.

2 participants