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.