[Bug c++/98424] The point of destroying temporary objects when initializing an array
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98424 Patrick Palka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill
[Bug c++/98424] The point of destroying temporary objects when initializing an array
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98424 --- Comment #2 from jim x --- Clang destroys them at the end of the full-expression, see https://godbolt.org/z/3xhPjoh8c
[Bug c++/98424] The point of destroying temporary objects when initializing an array
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98424 --- Comment #1 from Andrew Pinski --- Hmm, ICC and MSVC both have the same behavior as GCC.