[Bug libstdc++/89477] Incorrect CTAD deduction guides for set and multiset

2019-03-07 Thread fdumont at gcc dot gnu.org
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 *

[Bug libstdc++/89477] Incorrect CTAD deduction guides for set and multiset

2019-02-27 Thread mike at spertus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89477 Mike Spertus changed: What|Removed |Added CC||mike at spertus dot com --- Comment #5

[Bug libstdc++/89477] Incorrect CTAD deduction guides for set and multiset

2019-02-27 Thread arthur.j.odwyer at gmail dot com
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

[Bug libstdc++/89477] Incorrect CTAD deduction guides for set and multiset

2019-02-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89477 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/89477] Incorrect CTAD deduction guides for set and multiset

2019-02-26 Thread redi at gcc dot gnu.org
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,

[Bug libstdc++/89477] Incorrect CTAD deduction guides for set and multiset

2019-02-24 Thread arthur.j.odwyer at gmail dot com
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(),

[Bug libstdc++/89477] Incorrect CTAD deduction guides for set and multiset

2019-02-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89477 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid