Add a static_assert when trying to use returns<void>