> In our implementation, *all* constants are constant, including
> MPI_BOTTOM. All opaque types (pre-defined or not) are implemented as
> indices into a table, even in C, so I don't see how to make them
> into enums as Jim suggests.
Even anonymous enums can be given explicit values, can they not?
In C++, we would want the pre-defined opaque types to be const
objects. The question then is: is this okay? Are the pre-defined
opaque objects constant enough to be able to be declared const? This
is a semantic as well as a practical issue.
Best Wishes,
Andrew Lumsdaine