[Bug c++/95349] Using std::launder(p) produces unexpected behavior where (p) produces expected behavior

andrew2085 at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri May 29 21:00:20 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95349

--- Comment #17 from Andrew Downing <andrew2085 at gmail dot com> ---
Also none of the behavior described in p0593 is required for this C++ program
to be well defined. All objects that are required to exists here are created
explicitly. It's not relying on the implicit creation of any objects. This is
valid C++17 code.


More information about the Gcc-bugs mailing list