E2383 Switch selection expression must be of integral type (C++)

From Appmethod Topics
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

The selection expression in parentheses in a switch statement must evaluate to an integral type (char, short, int, long, enum).

You might be able to use an explicit cast to satisfy this requirement.