https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88128
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88128
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
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
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.
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?
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]).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88128
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|