Home » U++ Library support » U++ Core » Switch with String type variables
Switch with String type variables [message #3175] |
Tue, 09 May 2006 23:36 |
Justin
Messages: 57 Registered: March 2006 Location: Orange County California
|
Member |
|
|
If I want to use a switch statement with the 'String' type variable, I get this error message:
C:\MyApps\***\convert.cpp(33) : error C2450: switch expression of type 'String' is illegal
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
Is there an equivalent in U++ for the Switch operator that can use a 'String' type value?
Justin
|
|
|
|
Goto Forum:
Current Time: Tue Apr 23 22:41:08 CEST 2024
Total time taken to generate the page: 0.01847 seconds
|