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

insert and move semantics #62

Closed
kuviman opened this issue Apr 23, 2018 · 2 comments
Closed

insert and move semantics #62

kuviman opened this issue Apr 23, 2018 · 2 comments

Comments

@kuviman
Copy link

kuviman commented Apr 23, 2018

std::string s = "abacaba";
spp::sparse_hash_set<std::string> q;
q.insert(s);
assert(s == "abacaba");

The assertions fails with spp::sparse_hash_set, but works with std::unordered_set.

@greg7mdp
Copy link
Owner

Oh, that's bad! Thanks for reporting this @kuviman, I'll look at it when I have some time.

greg7mdp added a commit that referenced this issue Sep 16, 2018
@greg7mdp
Copy link
Owner

@kuviman , very sorry for the delay in fixing this bad issue, and thank you again for reporting it.

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

2 participants