
7 Dec
2005
7 Dec
'05
9:13 p.m.
Frank Laub wrote:
Hello fellow boosters,
I've recently come up with a way to use the boost preprocesor to generate a 'better' enum type. The following is an example of some typical usage. Is anyone else interested in this sort of thing?
I'm certainly always interested in stuff that ca minimuize all kind of redundancy in programs. As a related issue, it might be good to have the a similar struture which you can use to map from the enum value to the string value and vice versa. This runtime mapping should not require any heap-allocations . -Thorsten