public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/55373] New: Partial ordering of variadic function template
@ 2012-11-18 1:10 zeratul976 at hotmail dot com
2012-11-18 13:41 ` [Bug c++/55373] " paolo.carlini at oracle dot com
0 siblings, 1 reply; 2+ messages in thread
From: zeratul976 at hotmail dot com @ 2012-11-18 1:10 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55373
Bug #: 55373
Summary: Partial ordering of variadic function template
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zeratul976@hotmail.com
According to the last example in temp.func.order (14.5.6.2), the call to f
below should be ambiguous, but GCC compiles the code and the calls #2:
template <class T, class... U> void f(T, U...); // #1
template <class T > void f(T); // #2
void h(int i)
{
f(&i); // should be ambiguous, but calls #2
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/55373] Partial ordering of variadic function template
2012-11-18 1:10 [Bug c++/55373] New: Partial ordering of variadic function template zeratul976 at hotmail dot com
@ 2012-11-18 13:41 ` paolo.carlini at oracle dot com
0 siblings, 0 replies; 2+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-11-18 13:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55373
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-11-18 13:41:32 UTC ---
Dup
*** This bug has been marked as a duplicate of bug 41958 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-18 13:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-18 1:10 [Bug c++/55373] New: Partial ordering of variadic function template zeratul976 at hotmail dot com
2012-11-18 13:41 ` [Bug c++/55373] " paolo.carlini at oracle dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).