Restrictions on MAP key element type should include ENUM
Source: Airbus Group ( Oliver Kellogg)
DDS-XTypes 1.2 section 184.108.40.206.3 (Collection Types) on page 30 bottom states:
> * Element type: The concrete type to which all elements conform. (Collection Elements
> that are of a subtype of the element type rather than the element type itself may be
> truncated when they are serialized into a Data Representation.)
> In the case of a map type, this attribute corresponds to the type of the value elements.
> Map types have an additional attribute, the key element type, that indicates the type of the
> may key objects.
I believe there is a typo in "type of the may key objects" - drop the word "may" ?
The paragraph continues:
> Implementers of this specification need only support key elements of
> signed and unsigned integer types and of narrow and wide string types; the behavior of
> maps with other key element types is undefined and may not be portable.
Is there a particular reason why enums were excluded from the supported key types?
Reported: DDS-XTypes 1.2b1 — Fri, 15 Sep 2017 13:51 GMT
Updated: Tue, 19 Sep 2017 19:59 GMT