digitalmars.D - Re: Fun with allMembers
- bearophile <bearophileHUGS lycos.com> May 15 2009
Shin Fujishiro:For example, using allMembers with enums, I could implement enumToString and enumFromString without defineEnum. Code: http://codepad.org/HVvPjoI7 <
Nice. With better unit testing, and docs this seems good to go into Phobos. Bye, bearophile
May 15 2009