------- Comment #3 from jason at gcc dot gnu dot org 2009-10-08 03:54 ------- The reduced testcase is indeed valid, this is DR 115:
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#115 However, rel_ops::operator><int> is ill-formed, because it has no operands of class or enumeration type. -- jason at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2008-08-29 05:42:33 |2009-10-08 03:54:11 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37177