------- 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 = f<fn>(0);

At least it doesn't seem to accept reference types ...


-- 

andrew dot stubbs at st dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrew dot stubbs at st dot
                   |                            |com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24664

Reply via email to