Legacy Issue Number: 18390
Source: Remedy IT ( Johnny Willemsen)
The specification defines IDL::traits<> as type trait, but uses it only for reference types.
We propose to extend IDL::traits<> as generic type trait for IDL2C++11. This type trait delivers traits with information coming from IDL.
For example object reference traits it can also deliver local and abstract as traits, which are booleans that indicate whether the IDL type was local or abstract.
For sequence we can add traits indicating the type of the element and in case of bounded sequences the bound.
The proposal is to add a new paragraph which describes the IDL type traits that are all available as part of IDL::traits<> for a specific IDL type.
Reported: CPP11 1.0b2 — Wed, 23 Jan 2013 05:00 GMT
Disposition: Resolved — CPP11 1.1
Extending the IDL::traits<> with more types for template meta programming will be useful
for the users that would like to program C++11 templates using the IDL defined types.
Therefor a new set of type traits will be added to the specification.
Updated: Fri, 6 Mar 2015 20:58 GMT
CPP1111 — Extend IDL type traits for template meta programming
- Key: CPP1111-7
- OMG Task Force: IDL to C++11 1.1 RTF