[Bug c++/88128] G++ should implement CWG 330

2019-10-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88128 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/88128] G++ should implement CWG 330

2019-10-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88128 --- Comment #7 from Marek Polacek --- Author: mpolacek Date: Wed Oct 9 20:58:00 2019 New Revision: 276771 URL: https://gcc.gnu.org/viewcvs?rev=276771=gcc=rev Log: Implement C++20 P0388R4, DR 1307, and DR 330. This patch implements P0388R4,

[Bug c++/88128] G++ should implement CWG 330

2019-10-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88128 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/88128] G++ should implement CWG 330

2019-09-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88128 --- Comment #5 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #4) > (In reply to Viktor Ostashevskyi from comment #3) > > Is it possible to make std::span from std::vector? > > Yes, that works with current trunk. Although

[Bug c++/88128] G++ should implement CWG 330

2019-09-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88128 --- Comment #4 from Jonathan Wakely --- (In reply to Viktor Ostashevskyi from comment #3) > Was this bug fixed for implenting it? No. > Is it possible to make std::span from std::vector? Yes, that works with current trunk.

[Bug c++/88128] G++ should implement CWG 330

2019-09-06 Thread ostash at ostash dot kiev.ua
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88128 --- Comment #3 from Viktor Ostashevskyi --- I see that std::span implementation was proposed in https://gcc.gnu.org/ml/libstdc++/2019-08/msg00068.html. Was this bug fixed for implenting it? Is it possible to make std::span from std::vector?

[Bug c++/88128] G++ should implement CWG 330

2018-11-21 Thread ostash at ostash dot kiev.ua
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88128 --- Comment #2 from Viktor Ostashevskyi --- Actually, even current C++17 unique_ptr::reset for array objects is defined in terms of pointer to array convertibility ([unique.ptr.runtime.modifiers]).

[Bug c++/88128] G++ should implement CWG 330

2018-11-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88128 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|