[Bug c++/11682] ICE in Templates default value call a function
pinskia at physics dot uc dot edu
gcc-bugzilla@gcc.gnu.org
Sun Jul 27 13:23:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11682
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-27 13:23 -------
On the mainline (20030727), this code is rejected:
pr11682.cc:4: error: could not convert `<expression of type const
std::type_info>' to `std::type_info&'
pr11682.cc: In function `int main(int, char**)':
pr11682.cc:18: error: could not convert `*&_ZTI5ABoaz' to `std::type_info&'
pr11682.cc:2: error: in passing argument 1 of `int get_uuidof(std::type_info&)'
pr11682.cc:18: error: template argument 2 is invalid
pr11682.cc:18: error: expected `;'
More information about the Gcc-bugs
mailing list