implicit type cast problem of reference of ponter to const type
Steve Yee
yitonglu@gmail.com
Sat Apr 16 07:25:00 GMT 2005
the following code can not compile. is it due to the standard?
void testfun(const int *&pr)
{
}
main()
{
int *p;
testfun(p);
}
More information about the Gcc
mailing list