-
Key: IDL4CPP-53
-
Status: open
-
Source: Objective Interface Systems ( Mr. Chuck Abbott)
-
Summary:
The IDL 4 spec states the default bit_bound is 32 bits the C++ mapping document states:
IDL bitmask declarations shall be mapped to two C++ type names:- An unscoped enum named <Bitmask>Bits with an explicitly defined underlying type. That underlying type
is the smallest mapped unsigned integer type that has sufficient bits for the bit_bound of the bitmask:
uint8_t, for values between 1 and 8; uint16_t for bit_bound values between 9 and 16; uint32_t, for
values between 17 and 32; and uint64_t for values between 33 and 64. The <Bitmask>Bits enumerators
are the values defined in the scope of the IDL bitmask, with each enumerator explicitly initialized to its
corresponding integer value.
- An unscoped enum named <Bitmask>Bits with an explicitly defined underlying type. That underlying type
-
Reported: IDL4-CPP 1.0a1 — Fri, 1 Mar 2024 22:17 GMT
-
Updated: Fri, 1 Mar 2024 22:22 GMT
IDL4CPP — The text in the C++ mapping document for bitmasks appears to contradict the text in the IDL4 specification.
- Key: IDL4CPP-53
- OMG Task Force: IDL4 to C++ Language Mapping (IDL4-CPP) 1.0 FTF