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
Fixed support for allocators with explicit
copy constructors
#234
Conversation
by adhering to the principle that classes templated with Allocator should accept exactly Allocator objects
An automated preview of the documentation is available at https://234.unordered.prtest2.cppalliance.org/libs/unordered/doc/html/unordered.html |
Interesting. Are such allocators conforming? The latest allocator requirement table seems to say so; was it always such, or is this a recent change? |
(Apart from those philosophical questions, I don't see anything wrong with the change.) |
I don't know for sure. If you refer to the |
Seems intentional because the same type entries explicitly mandate |
Looks like C++03 only had the This seems a bit accidental to me. |
Probably. If I recall correctly, though, Chris commented this issue actually hit a real user, so it doesn't hurt to have it fixed. |
Yeah, I know, I was just wondering whether such allocators are allowed. |
Fixes #204