Boost logo

Boost :

From: Maksym Motornyy (mmotorny_at_[hidden])
Date: 2005-06-21 11:06:40

> To set the names, we use
> SA_REGISTER_ENUMERATOR(enumerator1, "Some long description")
> ...
Did you look at my library? You can register with enumerators not only
short and verbose names but also arbitrary data (example of such data is
expression on the right of enumerator).

> We use that regularly. Since the macros generate typesafe code,
> we don't find their use problematic.
For me using macro is also not a problem. If one finds macros ugly he
can declare enumerator in plain C++.

Maksym Motornyy.

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