[Bug c++/95950] Call to pseudo-destructor does not end the lifetime until C++20

2020-06-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95950 --- Comment #2 from Jonathan Wakely --- Right, t.~T() is only a pseudo-destructor for a scalar type. For a class type, it's a destructor.

[Bug c++/95950] Call to pseudo-destructor does not end the lifetime until C++20

2020-06-28 Thread kutdanila at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95950 Danila Kutenin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---