-
Key: C11-84
-
Legacy Issue Number: 2563
-
Status: closed
-
Source: Anonymous
-
Summary:
Summary: In PIN4O.00001 OMG have ruled that the content of an any is a
pointer to the type. So a long in an Any looks like this;any ----> long
But what about strings? As this type includes a pointer part
itself the above rules would make the following appear to be the
conformant case;any----> ptr to string -----> string : option 1
Having a pointer to a pointer is a bit unwieldy but appears to follow
the rules. Collapsing this to simply a pointer to the str thus;any----> string : option 2
is more natural for programmers but ambiguous within the spec.
We would like to know which of these two options is correct.
Section C - Interpretation Responses
The Open Group Initial Response:
This request is being sent for review by OMG. We request that OMG
rule which of the two options is correct or whether both are equally
so.Consultants Initial Response:
We recommend this request be sent to OMG for a binding interpretation.We recommend a PIN be granted to clarify the requirements for branding
irrespective of which of the two options OMG selects. -
Reported: C 1.0b1 — Tue, 30 Mar 1999 05:00 GMT
-
Disposition: Resolved — C 1.1
-
Disposition Summary:
urgent resolution, issue closed
-
Updated: Fri, 6 Mar 2015 20:57 GMT
C11 — Content of an Any is a pointer to the type -- Issue
- Key: C11-84
- OMG Task Force: C Language Mapping RTF