-
Key: IDL4CPP-2
-
Status: closed
-
Source: Remedy IT Expertise BV ( Johnny Willemsen)
-
Summary:
This new spec seems to try to support anonymous types (at least it doesn't disallow them like IDL to C++11), but how are then the type traits provided for anonymous types. For example the type
struct TopicA
{ sequence<long, 5> l5s; };
Is there a way for the user to get the IDL traits for bound/is_bounded for the l5s member? If that is not possible for anonymous types this language mapping should make that clear, that anonymous types don't have a type trait.
-
Reported: IDL4-CPP 1.0b1 — Thu, 23 Mar 2023 14:02 GMT
-
Disposition: Resolved — IDL4-CPP 1.0b2
-
Disposition Summary:
Add a note to clause 7.15 to illustrate type traits for anonymous types
This resolution adds an example that shows how to aquire acquire the declared type of a struct member and use it in a traits declaration.
-
Updated: Mon, 16 Sep 2024 14:15 GMT
IDL4CPP — Availability of IDL Type traits for anonymous types
- Key: IDL4CPP-2
- OMG Task Force: IDL4 to C++ Language Mapping (IDL4-CPP) 1.0 FTF