------- Comment #9 from jason at gcc dot gnu dot org  2009-03-03 21:23 -------
int (*)[argc] is not a valid template type argument, as it depends on a runtime
value, and template arguments need to be known at compile time.  If you want to
pass your VLA to a template function, you need to let it decay to int*.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |RESOLVED
         Resolution|                            |INVALID


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

Reply via email to