Skip to content
Discussion options

You must be logged in to vote

The short answer is no, RIDL doesn't support anonymous types, you must use a typedef in your IDL.

The longer answer is that IDL3 deprecated anonymous types because it is problematic in some language mappings, see IDL3.5 chapter 5.11.6. Anonymous types are problematic in some language mappings, for example in the IDL to C++11 mapping. In that language mapping we declare a IDL::traits<> specialization for your types, but we can't do that for your sequence<ColorT>. Also a lot of questions arise when we use distinct types, what when you use the same anonymous type in different modules, is that the same type or not? Because of this the CORBA vendors in the past deprecated anonymous types.

At s…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by goto40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants