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

LWG-3525 uses_allocator_construction_args fails to handle types convertible to pair #2551

Closed
CaseyCarter opened this issue Feb 8, 2022 · 2 comments · Fixed by #2639
Closed
Labels
fixed Something works now, yay! LWG Library Working Group issue

Comments

@CaseyCarter
Copy link
Contributor

CaseyCarter commented Feb 8, 2022

LWG-3525 uses_allocator_construction_args fails to handle types convertible to pair

@CaseyCarter CaseyCarter added the LWG Library Working Group issue label Feb 8, 2022
@frederick-vs-ja
Copy link
Contributor

frederick-vs-ja commented Feb 16, 2022

I find that the resolution possibly implies that T may be cv-qualified. Currently MSVC STL only treats cv-unqualified pair types as such specializations, while libstdc++ admits both unqualified and const-qualified (but not volatile-qualified) pair types.
Is another LWG issue needed?

@CaseyCarter
Copy link
Contributor Author

LWG has a bad habit of sometimes saying "specialization of meow" when they really intend "cv-qualified specialization of meow". I've asked for clarification, and will open an issue if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed Something works now, yay! LWG Library Working Group issue
Projects
Status: Done
3 participants