Is it possible to use FName for a switch in C++?

robbiecooper
Thu, 06 Nov 2014 12:01:15 +0000
C++

If so, how do you call it? At the moment I’m trying;

switch (MyObject->MyFName.GetNumber())
{
case FNameToCheck.GetNumber():
{}
}

No dice.

Thanks!!

8 posts - 1 participant