generated from sigonasr2/CPlusPlusProjectTemplate
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
387 B
21 lines
387 B
enum class Flag:int{
|
|
NONE,
|
|
TEST_FLAG1,
|
|
TEST_FLAG2,
|
|
TEST_FLAG3,
|
|
HAS_MAIN,
|
|
HAS_NESS,
|
|
HAS_PAULA,
|
|
HAS_JEFF,
|
|
HAS_ANNA,
|
|
HAS_KING,
|
|
HAS_POO,
|
|
};
|
|
|
|
|
|
|
|
template <typename Enumeration>
|
|
auto toint(Enumeration const value) -> typename std::underlying_type<Enumeration>::type
|
|
{
|
|
return static_cast<typename std::underlying_type<Enumeration>::type>(value);
|
|
} |