We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code doesn't compile with sparse_hash_map but works fine with std::unordered_map;
int main() { using StringPtr = std::unique_ptr<std::string>; #if 1 using StringPtrContainer = spp::sparse_hash_map<StringPtr, StringPtr>; #else using StringPtrContainer = unordered_map<StringPtr, StringPtr>; #endif StringPtrContainer c; c.emplace(std::piecewise_construct, std::forward_as_tuple(new string{ "key" }), std::forward_as_tuple(new string{ "value" })); }
The text was updated successfully, but these errors were encountered:
fix issue #70
73484df
I believe that the last version of spp.h fixes the issue. Please let me know if you still have problems.
Sorry, something went wrong.
No branches or pull requests
The following code doesn't compile with sparse_hash_map but works fine with std::unordered_map;
The text was updated successfully, but these errors were encountered: