Fix decltype with invert operator