[Bug c++/115963] P3144R2 is not yet completely implemented with a nullptr

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 17 06:54:05 GMT 2024


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note most of the rest of the paragraphs around it say "If the value of the
operand of the delete-expression is not a null pointer value and .." The
question becomes is that an oversight of P3144R2 or not and should a null
pointer constant be valid always since that was never undefined or even had a
chance of being undefined. Yes it is bad coding but still.


More information about the Gcc-bugs mailing list