------- Additional Comments From johill at lanl dot gov 2005-05-19 16:10 ------- Subject: RE: template template parameter function overload not recognized
Sorry about the invalid entry. I understand now, and after receiving enlightenment I can't even complain about the message other than perhaps that there could be a leading message for bozos that says a match was found but it could not be used because it is an rvalue. > -----Original Message----- > From: pinskia at gcc dot gnu dot org [mailto:gcc- > [EMAIL PROTECTED] > Sent: Thursday, May 19, 2005 8:48 AM > To: [EMAIL PROTECTED] > Subject: [Bug c++/21665] template template parameter function > overload not recognized > > > ------- Additional Comments From pinskia at gcc dot gnu dot org > 2005-05-19 14:48 ------- > This code is invalid, and here is why: > manipulator.reveal ( PROPERTY < int > ( propertyX, > pContainer, & MyContainer::x ) ); > > so you are passing a rvalue to a non constant reference. > > This does not compile with ICC also giving the same error. > > -- > What |Removed |Added > --------------------------------------------------------------- > ------------- > Status|UNCONFIRMED |RESOLVED > Resolution| |INVALID > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21665 > > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21665