Is it possible to define operators for enums? For example I have enum Month in my class and I would like to be able to write ++my_month. Thanks P.S. In order to
Yes it is. Operator overloading can be done for all user defined types. That includes enums.