1. OMG Mailing List
  2. Unified Component Model 1.3 Revision Task Force

Open Issues

  • Issues not resolved
  • Name: ucm-rtf
  • Issues Count: 1

Issues Summary

Key Issue Reported Fixed Disposition Status
UCM14-1 sequence/const mapping UCM 1.2 open

Issues Descriptions

sequence/const mapping

  • Key: UCM14-1
  • Status: open  
  • Source: Remedy IT ( Johnny Willemsen)
  • Summary:

    The bounded sequence maps to a std::array but that is very heavy in terms of memory management. In a lot of use cases a sequence bound is set to limit the size, but by mapping it to a std::array the result is that the maximum is allocated directly in memory. IDL to C+11 doesn't require this, it maps to a distinct type that supports the bound, but not to a std::array. Would recommend to update this mapping to match with IDL to C+11

    Also a constant is mapped to const, in a lot of cases it can be mapped to a constexpr, which is even better, see IDL to C++11

  • Reported: UCM 1.2 — Fri, 20 Aug 2021 09:32 GMT
  • Updated: Wed, 8 Sep 2021 13:47 GMT