Q
Qiang Li
Hi,
There is no implicit conversion from a scoped enum to int, does this
mean that it is not comparable? E.g.,
enum class X { zero, one };
X::zero < X:ne; // Is this OK?
There is no implicit conversion from a scoped enum to int, does this
mean that it is not comparable? E.g.,
enum class X { zero, one };
X::zero < X:ne; // Is this OK?