[Bug c++/45012] Invalid ambiguity on partial class specialization matching

2011-11-17 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45012 Ramana Radhakrishnan changed: What|Removed |Added CC||ramana at gcc dot gnu.org --- Comm

[Bug c++/45012] Invalid ambiguity on partial class specialization matching

2011-09-26 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45012 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/45012] Invalid ambiguity on partial class specialization matching

2011-09-26 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45012 Paolo Carlini changed: What|Removed |Added CC||potswa at mac dot com --- Comment #4 from

[Bug c++/45012] Invalid ambiguity on partial class specialization matching

2010-07-20 Thread rodolfo at rodsoft dot org
--- Comment #3 from rodolfo at rodsoft dot org 2010-07-21 03:03 --- (In reply to comment #2) > This enum value has an anonymous type which is not valid in the > context of templates in C++03/98. It is valid in the current draft of C > ++0x though. But I cannot remember if 4.5 implemen

[Bug c++/45012] Invalid ambiguity on partial class specialization matching

2010-07-20 Thread pinskia at gmail dot com
--- Comment #2 from pinskia at gmail dot com 2010-07-21 02:53 --- Subject: Re: New: Invalid ambiguity on partial class specialization matching On Jul 20, 2010, at 7:43 PM, "rodolfo at rodsoft dot org" wrote: > The following code doesn't compile unless variable RUNTIME is > defin

[Bug c++/45012] Invalid ambiguity on partial class specialization matching

2010-07-20 Thread rodolfo at rodsoft dot org
--- Comment #1 from rodolfo at rodsoft dot org 2010-07-21 02:49 --- The code I posted was meant to be compiled in c++0x mode, but if we write directly the definition of std::enable_if, it also happens in c++03 mode. So, instead of #include , one should write: template struct enable_if;