This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/15672] wierd error reported


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]