This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21665] template template parameter function overload not recognized
- From: "johill at lanl dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 May 2005 16:10:50 -0000
- Subject: [Bug c++/21665] template template parameter function overload not recognized
- References: <20050519141941.21665.johill@lanl.gov>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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-
> bugzilla@gcc.gnu.org]
> Sent: Thursday, May 19, 2005 8:48 AM
> To: johill@lanl.gov
> 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