T
Tau
for example:
enum class SomeEnumType
{
A1 = 1;
A2 = 2;
A3 = 3;
};
how to write a function like:
bool isOneOfSomeEnumType(int i)? (in C++/CLI)
isOneOfSomeEnumType(1) will return true
isOneOfSomeEnumType(2) will return true
isOneOfSomeEnumType(4) will return false
somebody helps me! Thanks!
enum class SomeEnumType
{
A1 = 1;
A2 = 2;
A3 = 3;
};
how to write a function like:
bool isOneOfSomeEnumType(int i)? (in C++/CLI)
isOneOfSomeEnumType(1) will return true
isOneOfSomeEnumType(2) will return true
isOneOfSomeEnumType(4) will return false
somebody helps me! Thanks!