PR18551: accepts invalid strong enum to bool when operator! is used