https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24664
--- Comment #5 from Patrick Palka ---
Author: ppalka
Date: Sun Jan 24 17:45:21 2016
New Revision: 232778
URL: https://gcc.gnu.org/viewcvs?rev=232778=gcc=rev
Log:
Revert "Fix the remaining PR c++/24666 blockers"
gcc/cp/ChangeLog:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24664
Patrick Palka changed:
What|Removed |Added
Status|RESOLVED|NEW
Resolution|FIXED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24664
Patrick Palka changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24664
--- Comment #3 from Patrick Palka ---
Author: ppalka
Date: Tue Jan 19 00:19:16 2016
New Revision: 232547
URL: https://gcc.gnu.org/viewcvs?rev=232547=gcc=rev
Log:
Fix the remaining PR c++/24666 blockers (arrays decay to pointers too early)
--- Comment #2 from andrew dot stubbs at st dot com 2007-05-24 15:27
---
You can create an array of functions. Also prohibited by clause 14.8.2/2.
template class T int f(T[5]);
typedef void (fn)();
int K = ffn(0);
At least it doesn't seem to accept reference types ...
--
andrew
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-04 04:41 ---
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added