[Bug c++/97230] Invocation of non-static member function on a null instance in core constant expression should not be allowed

eligorkadaf at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Sep 28 14:51:08 GMT 2020


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

--- Comment #1 from Eligor Kadaf <eligorkadaf at gmail dot com> ---
Basically it described in 7th paragraph in [expr.const] of the latest C++
standard draft: https://eel.is/c++draft/expr.const#5


More information about the Gcc-bugs mailing list