Hello, we are really happy that you have reached us. However, since you are viewing the forum as a visitor, you cannot benefit from many features of the forum. How about taking advantage of all the features exclusive to our members by registering? You can register right now, taking just 2 minutes of your time. We would love to see you among us.
Kaynak : https://stackoverflow.com/questions/147267/easy-way-to-use-variables-of-enum-types-as-string-in-c
Normalde enum = id gibi kullanılamıyordu. şuan iki türlü kullanılabilir..
#define SMART_ENUM(enumTypeArg, ...) \
namespace enumTypeArg {...