The C++ mapping of an IDL enum
type is the corresponding C++
enum
. An additional constant is generated to guarantee that the
type occupies a 32 bits wide integer.
For instance, the following IDL:
enum e { value1, value2 };
would map, according to the scoped names rules, into
enum e { value1, value2, _unused = 0xffffffff, };