Compiler Error C2590

'identifier' : ambiguous user-defined conversions in switch expression

The specified switch expression could not be converted to an integral type.

An expression in a switch expression must unambiguously convert to an integral type.

Ambiguous conversion can be caused when a conversion operator and a constructor making the same conversion have been defined.