Boost logo

Boost :

From: Thorsten Ottosen (tottosen_at_[hidden])
Date: 2005-12-07 16:13:04

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 .


Boost list run by bdawes at, gregod at, cpdaniel at, john at