[Bug c++/69898] Possibility for function with cv-qualifier-seq be adjusted to function pointer

daniel.kruegler at googlemail dot com gcc-bugzilla@gcc.gnu.org
Mon Feb 22 18:24:00 GMT 2016


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

Daniel Krügler <daniel.kruegler at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler@googlemail.
                   |                            |com

--- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> ---
I would argue that the code should be ill-formed, because the attempt to form a
pointer to a function with cv-qualifier-seq is invalid, see

http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1417


More information about the Gcc-bugs mailing list