C++ static array of enum?

Hi,

It’s not directly what you’re looking for, but you can achieve iteration over a given UENUM’s enumerators by using the FOREACH_ENUM_* macros. These get generated automatically for each UENUM type:

#define MY_LOOP_BODY(val) CallSomeMethod(val);
    FOREACH_ENUM_EROOMISMCREFERENCEDQUADRANT(MY_LOOP_BODY)
#undef MY_LOOP_BODY

Steve