This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26605] using + templates troubles
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Mar 2006 14:56:52 -0000
- Subject: [Bug c++/26605] using + templates troubles
- References: <bug-26605-133@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from pcarlini at suse dot de 2006-03-08 14:56 -------
(In reply to comment #7)
> No, it's not the same, because we are dealing with the templates. I'm going to
> study the standard (maybe you can also do that ;) but we have an hard fact:
> both g++ and EDG accept the version without using, only g++ rejects that with
> using.
In my opinion, 14.8.3 is sufficient to say that the simple snippets in Comments
#1 and #5 should both compile (only #5 is already ok on GCC): only when a call
to the name is written template argument deduction takes place, separately for
each function template, then overload resolution is performed (which would of
course fails, in the examples), no earlier checks should be carried out.
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-03-08 14:56:52
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26605