[Bug c++/97648] Rejects valid direct initialization from prvalue (private destructor)

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97648 --- Comment #2 from Andrew Pinski --- (In reply to Marek Polacek from comment #1) > This is also rejected by clang++ and icc. MSVC also rejects it for accessibility reasons.

[Bug c++/97648] Rejects valid direct initialization from prvalue (private destructor)

2020-11-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97648 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment