public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* C++ PATCH for c++/35255 (address of template-id)
@ 2011-06-24  2:44 Jason Merrill
  2011-06-24 13:12 ` Diego Novillo
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Merrill @ 2011-06-24  2:44 UTC (permalink / raw)
  To: gcc-patches List

Per DR 115, if the context of a template-id doesn't give enough type 
information to resolve it and the template-id fully resolves exactly one 
specialization, we should use that one.  The code in 
resolve_overloaded_unification was trying to do this, but was failing to 
handle the case where there are additional templates that aren't fully 
resolved.

Tested x86_64-pc-linux-gnu, applying to trunk.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-24 21:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-24  2:44 C++ PATCH for c++/35255 (address of template-id) Jason Merrill
2011-06-24 13:12 ` Diego Novillo
2011-06-24 22:21   ` Jason Merrill

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