------- Comment #2 from johill at lanl dot gov 2008-01-09 17:37 ------- Subject: RE: reference data template args appear to be broken in 4.2.1 ?
You conclusion is correct. Sorry about false alarm > -----Original Message----- > From: pinskia at gcc dot gnu dot org [mailto:[EMAIL PROTECTED] > Sent: Friday, December 21, 2007 3:27 PM > To: [EMAIL PROTECTED] > Subject: [Bug c++/34550] reference data template args appear to be broken in > 4.2.1 ? > > > > ------- Comment #1 from pinskia at gcc dot gnu dot org 2007-12-21 22:27 --- > ---- > You forgot "const" in the second template. > Changing that to: > template < class T, const int & R > > Cat < T, R > :: Cat ( int ) > { > } > > Allows for this to work. > > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34550 > > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34550