IDL 4.2 · §7.4.6
Forward declaration
A forward declaration names a struct, union or interface before its full definition, enabling mutually-recursive types. The parser tracks completion and rejects types left undefined at the end of the unit.
Example
struct Node; // forward
struct Edge { Node from; Node to; };
struct Node { long id; }; // completed
ZeroDDS support
| OMG IDL 4.2 section | §7.4.6 |
| Implementation | idl-lower/src/validate.rs |
| Tests | validation.rs |
| Status | ✓ — parsed and validated. |
See also: IDL construct coverage · idl-4.2 audit · OMG IDL 4.2 spec