https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116385
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> --- In fact I see no RID_TYPEID cp_unevaluated so that's probably the problem. Even C++11 said "The expression is an unevaluated operand." Probably a dup of bug 68604.