This project is read-only.
1

Closed

Methods that return an Enum should return the specific type of enum supplied

description

When I use the Enum Utilities Library on an enum (such as using the BitShiftLeft() method), I have to manually cast the returned enum to the correct type. I shouldn't have to do that much work to get at the return value!
Closed Aug 28, 2010 at 10:24 PM by rmiesen

comments

rmiesen wrote Aug 28, 2010 at 10:21 PM

I've fixed this issue as of r2038.

Fix details: All methods are now generic methods. Now end-users can simply call methods in this library and not have to cast the return value to their specific enum type.

Closing

wrote Aug 28, 2010 at 10:24 PM

wrote Feb 2, 2013 at 3:19 AM

wrote May 14, 2013 at 1:27 AM