This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15672] wierd error reported
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 May 2004 20:51:11 -0000
- Subject: [Bug c++/15672] wierd error reported
- References: <20040527054618.15672.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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