https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89477
--- Comment #6 from François Dumont ---
Author: fdumont
Date: Fri Mar 8 05:53:09 2019
New Revision: 269479
URL: https://gcc.gnu.org/viewcvs?rev=269479=gcc=rev
Log:
2019-03-08 François Dumont
PR libstdc++/89477
*
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89477
Mike Spertus changed:
What|Removed |Added
CC||mike at spertus dot com
--- Comment #5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89477
--- Comment #4 from Arthur O'Dwyer ---
libstdc++ passes all my test cases now except this one:
```
// https://godbolt.org/z/kvh9Ih
#include
std::set s;
std::set t(s, std::allocator());
```
The issue is that we humans can logically deduce t's
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89477
Jonathan Wakely changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89477
--- Comment #2 from Jonathan Wakely ---
Author: redi
Date: Tue Feb 26 23:12:44 2019
New Revision: 269234
URL: https://gcc.gnu.org/viewcvs?rev=269234=gcc=rev
Log:
PR libstdc++/89477 constrain deduction guides for maps and sets
The Compare,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89477
--- Comment #1 from Arthur O'Dwyer ---
Similar cases for `unordered_{multi,}set` as well.
// https://godbolt.org/z/onYid6
#include
int main() {
const int arr[] = { 1, 2, 3 };
std::unordered_set s(arr, arr+3, 42, std::hash(),
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89477
Jonathan Wakely changed:
What|Removed |Added
Keywords||rejects-valid