http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45012
Ramana Radhakrishnan changed:
What|Removed |Added
CC||ramana at gcc dot gnu.org
--- Comm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45012
Jason Merrill changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
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
--- 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
--- 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
--- 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;