ADA 1.2 NO IDEA Avatar
  1. OMG Issue

ADA12 — Ada issue: Type string in package CORBA spec

  • Key: ADA12-5
  • Legacy Issue Number: 1112
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: I have a suggestion regarding the current (CORBA version 2.2) IDL to Ada
    >mapping which concerns the type String in the package CORBA spec.
    >Here is a diff of the addition that I propose:
    >
    >*** corba.ads.orig Mon Mar 2 09:38:27 1998
    >--- corba.ads Wed Mar 25 08:35:28 1998
    >***************
    >*** 29,34 ****
    >--- 29,37 ----
    > type Octet is new Interfaces.Unsigned_8;
    > type String is new Ada.Strings.Unbounded.Unbounded_String;
    >
    >+ Null_Unbounded_String : constant String
    >+ := String
    >(Ada.Strings.Unbounded.Null_Unbounded_String);
    >+
    > – Exceptions
    >
    > type IDL_Exception_Members is abstract tagged null record;
    >
    >
    >The lack of the Null_Unbounded_String constant in the current CORBA spec
    >means it is cumbersome to compare a CORBA.String against the
    >Ada.Strings.Unbounded.Null_Unbounded_String, as such comparison requires a
    >type conversion.

  • Reported: ADA 1.0 — Thu, 26 Mar 1998 05:00 GMT
  • Disposition: Resolved — ADA 1.2
  • Disposition Summary:

    No Data Available

  • Updated: Fri, 6 Mar 2015 20:58 GMT