[Bug libstdc++/69769] arithmetic operation on pointer to a function
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 18 12:34:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69769
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-04-18
Ever confirmed|0 |1
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
P0558R1 added the following to the atomic<T*> specialization:
Requires: T shall be an object type, otherwise the program is ill-formed.
[Note: Pointer arithmetic on void* or function pointers is ill-formed. — end
note ]
More information about the Gcc-bugs
mailing list