[Bug c++/60852] [4.8/4.9/4.10 Regression] boost::has_complement of enum class does not compile
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 17 06:19:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60852
--- Comment #19 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #17)
> (In reply to Markus Trippelsdorf from comment #16)
> > Unfortunately filing bugs for clang is like posting to /dev/null
> > most of the time.
>
> That's not my experience - if it hasn't been filed yet I'll do so.
> http://llvm.org/bugs/show_bug.cgi?id=19452
I was wrong this time:
% clang++ -std=c++11 b.ii
b.ii:11:35: error: invalid argument type 'E' to unary expression
static const int value = sizeof ~make<Rhs>();
^~~~~~~~~~~~
b.ii:16:22: note: in instantiation of template class 'H<E>' requested here
int main () { return H<E>::value; }
^
1 error generated.
More information about the Gcc-bugs
mailing list