1. OMG Mailing List
  2. IDL to C++11 V1.4 (IDL2CPP11) Revision Task Force

Open Issues

  • Issues not resolved
  • Name: idl2cpp11-rtf
  • Issues Count: 3

Issues Descriptions

6.7.8 Argument Passing Considerations should refer to "Basic Data Types" not "primitive"

  • Key: CPP1117-3
  • Status: open  
  • Source: Micro Focus ( Simon McQueen)
  • Summary:

    The section says:

    "For all primitive types, enums, and
    reference types, an in argument A of type P, that argument is passed as P. For all other types, an in argument A of type P is
    passed as const P&. For an inout and out argument it is passed as P&. If we return a type of P, it is returned as P."

    This is the only use of "primitive types" in the spec. "Basic Data Types" should be preferred. Would suggest:

    "For all Basic Data Types [link/ref to 6.6 Mapping for Basic Data Types], enums [link/ref to 6.9 Mapping for Enums], and
    reference types [link/ref to 6.7.1 Reference Types], an in argument A of type P, that argument is passed as P. For all other types, an in argument A of type P is
    passed as const P&. For an inout and out argument it is passed as P&. If we return a type of P, it is returned as P."

  • Reported: CPP11 1.6b1 — Fri, 10 Dec 2021 15:02 GMT
  • Updated: Fri, 26 Aug 2022 14:10 GMT

Typo in example

  • Key: CPP1117-2
  • Status: open  
  • Source: Remedy IT ( Johnny Willemsen)
  • Summary:

    using M2 = IDL::bounded_map<std::string, T, 20;

    should be

    using M2 = IDL::bounded_map<std::string, T, 20>;

  • Reported: CPP11 1.6b1 — Wed, 20 Oct 2021 06:24 GMT
  • Updated: Thu, 25 Aug 2022 20:52 GMT

Add standardized annotation to override the IDL map to std::map mapping