-
Key: IDL43-94
-
Status: open
-
Source: ZettaScale Technology ( Mr. Erik Hendriks)
-
Summary:
The spec clearly specifies that when a union has an explicit default member, then this member should be chosen in its default constructor. When this is not the case, it would pick the first available case that is listed for its first available member.
However, it makes sense that if there is an implicit default member, then it is picked by the default constructor for the union.
Finally, it should be stated that you cannot overrule in any way what member the default constructor of a union will pick by using the @default annotation on any specific member, -
Reported: IDL 4.2 — Tue, 19 Mar 2024 19:41 GMT
-
Updated: Mon, 10 Jun 2024 23:42 GMT
IDL43 — Behavior of default union member not properly specified
- Key: IDL43-94
- OMG Task Force: Interface Definition Language 4.3 RTF