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++/34550] reference data template args appear to be broken in 4.2.1 ?



------- 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:gcc-bugzilla@gcc.gnu.org]
> Sent: Friday, December 21, 2007 3:27 PM
> To: johill@lanl.gov
> 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


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