[Bug c++/15672] wierd error reported
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri May 28 15:59:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-27 20:51 -------
Because the "Power16 power16c(Row<const int>(a1));" is defined by the C++ standard to be a function
return Power16 and Row<const int> as the argument type and a1 as the argument name, if a1 was a
constant then this will not be a function at all, it is just an ambiguous part of C++ syntax that the
standard says this is a function.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15672
More information about the Gcc-bugs
mailing list