
In the following code struct A has two implicit conversion operators to char and int, and an instance of the struct is compared for equality against integer constant 2:
struct A {
constexpr operator char() { return 1; }
constexpr operator int() { return 2; }
};
static_assert( A{} == 2 );
...