------- 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